wasp(main):001:0> CREATE TABLE user {REQUIRED INT64 user_id; REQUIRED STRING name;} PRIMARY KEY(user_id), ENTITY GROUP ROOT,ENTITY GROUP KEY(user_id);
SyntaxError: (wasp):1: syntax error, unexpected tCONSTANT
CREATE TABLE user {REQUIRED INT64 user_id; REQUIRED STRING name;} PRIMARY KEY(user_id), ENTITY GROUP ROOT
^
Error: Your application used more stack memory than the default safety cap.
Specify -J-Xss####k to increase it (#### = cap size in KB).
Specify -w for full StackOverflowError stack trace
按https://github.com/alibaba/wasp/wiki/DDL%E6%93%8D%E4%BD%9C 这里的文档操作,第一个create table user的例子显示解析错误,然后shell就退出了。
wasp(main):001:0> CREATE TABLE user {REQUIRED INT64 user_id; REQUIRED STRING name;} PRIMARY KEY(user_id), ENTITY GROUP ROOT,ENTITY GROUP KEY(user_id); SyntaxError: (wasp):1: syntax error, unexpected tCONSTANT
CREATE TABLE user {REQUIRED INT64 user_id; REQUIRED STRING name;} PRIMARY KEY(user_id), ENTITY GROUP ROOT ^
Error: Your application used more stack memory than the default safety cap. Specify -J-Xss####k to increase it (#### = cap size in KB). Specify -w for full StackOverflowError stack trace