소스 검색

HUE-9084 [calcite] Adding STREAM keyword to the lexer

Romain 6 년 전
부모
커밋
d4396e66ac
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/js/parse/jison/sql/calcite/sql.jisonlex

+ 1 - 0
desktop/core/src/desktop/js/parse/jison/sql/calcite/sql.jisonlex

@@ -96,6 +96,7 @@
 'SET'                                      { parser.determineCase(yytext); parser.addStatementTypeLocation('SET', yylloc); return 'SET'; }
 'SHOW'                                     { parser.determineCase(yytext); parser.addStatementTypeLocation('SHOW', yylloc); return 'SHOW'; }
 'SMALLINT'                                 { return 'SMALLINT'; }
+'STREAM'                                   { return 'STREAM'; }
 'STRING'                                   { return 'STRING'; }
 'TABLE'                                    { return 'TABLE'; }
 'THEN'                                     { return 'THEN'; }