Преглед изворни кода

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 година
родитељ
комит
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'; }
 

Разлика између датотеке није приказан због своје велике величине
+ 2 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/jison/sql_main.jison


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/sqlAutocompleteParser.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
desktop/core/src/desktop/static/desktop/js/autocomplete/sqlSyntaxParser.js


Неке датотеке нису приказане због велике количине промена