-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
it seems that firstname is reserved keyword.
Got 2 rows (Time spent: 1344/2316 us)
nebula> use shakespeare;
Execution succeeded (Time spent: 521/1779 us)
nebula> create tag xxxxxxxxxx (firstname string)
[ERROR (-7)]: syntax error near (firstname' nebula> create tag xxxxxxxxxx(firstname string) [ERROR (-7)]: syntax error near
xxxxxxxxxx(firstname'
nebula> create tag xxxxxxxxxx (first string)
Execution succeeded (Time spent: 3202/4033 us)
nebula> create tag xxxxxxxxxxx(firstname string)
[ERROR (-7)]: syntax error near xxxxxxxxxxx(firstname' nebula> create tag xxxxxxxxxxx (firstname string) // why syntax error? [ERROR (-7)]: syntax error near
(firstname'
nebula> create tag xxxxxxxxxxx (firstxxxx string) // why ok? is firstname a keyword?
Execution succeeded (Time spent: 3012/3988 us)
nebula> create tag xxxxxxxxxxx (firstname1 string)
[ERROR (-8)]: existed!
nebula> create tag xxxxxxxxxxxx (firstname1 string)
Execution succeeded (Time spent: 1442/2082 us)
nebula> create tag xxxxxxxxxxxxx (firstname string)
[ERROR (-7)]: syntax error near `(firstname'
nebula> create tag xxxxxxxxxxxxx (first_name string)
Execution succeeded (Time spent: 1743/2365 us)