Pārlūkot izejas kodu

HUE-6746 [autocomplete] Add USER and TIMESTAMP to non-reserved keywords list

Even though the Hive documentation lists them as reserved it still accepts them on execution, the parser generates fine with them marked as non-reserved.
Johan Ahlen 8 gadi atpakaļ
vecāks
revīzija
2820a04f88

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/jison/sql.jisonlex

@@ -59,6 +59,7 @@
 <hive>'REVOKE'                             { return '<hive>REVOKE'; }
 <hive>'ROLLUP'                             { return '<hive>ROLLUP'; }
 <hive>'TABLE'                              { return '<hive>TABLE'; }
+<hive>'TIMESTAMP'                          { return '<hive>TIMESTAMP'; }
 <hive>'USER'                               { return '<hive>USER'; }
 <hive>'USING'                              { return '<hive>USING'; }
 

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 2 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/jison/sql_main.jison


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/sqlAutocompleteParser.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/sqlSyntaxParser.js


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels