Эх сурвалжийг харах

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 жил өмнө
parent
commit
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


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно