1
0

[MINOR] Standardize HoodieSqlCommon.g4 file (#4582)

This commit is contained in:
xuzifu666
2022-01-25 10:09:08 +08:00
committed by GitHub
parent 26c3f797b0
commit bf409e8423

View File

@@ -20,7 +20,7 @@ grammar HoodieSqlCommon;
: statement EOF : statement EOF
; ;
statement statement
: compactionStatement #compactionCommand : compactionStatement #compactionCommand
| .*? #passThrough | .*? #passThrough
; ;
@@ -53,7 +53,7 @@ statement
: (LETTER | DIGIT | '_')+ : (LETTER | DIGIT | '_')+
; ;
STRING STRING
: '\'' ( ~('\''|'\\') | ('\\' .) )* '\'' : '\'' ( ~('\''|'\\') | ('\\' .) )* '\''
| '"' ( ~('"'|'\\') | ('\\' .) )* '"' | '"' ( ~('"'|'\\') | ('\\' .) )* '"'
; ;