forked from DataDog/go-sqllexer
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
$ echo "select/**/*/**/from/**/events;" | sqllexerv2 -mode tokenize -format txt
IDENT WILDCARD WILDCARD MULTILINE_COMMENT IDENT WILDCARD WILDCARD OPERATOR IDENT PUNCTUATIONgives
"IDENT WILDCARD WILDCARD MULTILINE_COMMENT IDENT WILDCARD WILDCARD OPERATOR IDENT PUNCTUATION"
but if we add a space after the select the "/" is correctly detected
$ echo "select /**/*/**/from/**/events;" | sqllexerv2 -format txt -mode tokenize
COMMAND MULTILINE_COMMENT WILDCARD MULTILINE_COMMENT IDENT WILDCARD WILDCARD OPERATOR IDENT PUNCTUATIONReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels