HUE-9429 [editor] Remove intermediary parser rules for each statement type to improve pluggability

Review Request #15361 — Created Aug. 7, 2020 and submitted

johan
hue
master
hue
Amlesh1902, ranade, romain, Sreenath, yingc
commit 1fba47a79a108df84fce2c3c8aa8a443e4e368c0
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Aug 7 16:22:21 2020 +0200

    HUE-9429 [editor] Remove intermediary parser rules for each statement type to improve pluggability

:100644 100644 95016cd0d3 69b66a5559 M	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_common.jison
:100644 100644 5693ccc57a 8eafa97604 M	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_table.jison
:100644 100644 eb84331bac 018aae6ac0 M	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_view.jison
:100644 100644 1e0b7be309 8850757553 M	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_common.jison
:100644 100644 79bd10fcac 27acaadbc1 M	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_database.jison
:100644 100644 aa4e93ab49 6fb2b62e58 M	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_role.jison
:100644 100644 c444901a85 4e5b0883db M	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_table.jison
:100644 100644 ef17cdacf5 d12ef05ca3 M	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_view.jison
:100644 100644 357968c99b 65a49abd58 M	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_common.jison
:100644 100644 ba5e3001d1 282861875e M	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_database.jison
:100644 100644 ffedde8fd2 5893194ece M	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_role.jison
:100644 100644 30c344df6f c6fc1230b9 M	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_table.jison
:100644 100644 90c786f96a 4f0f28d957 M	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_view.jison
:100644 100644 4969da8ac1 264b3603ed M	desktop/core/src/desktop/js/parse/jison/sql/generic/set/set_all.jison
:100644 100644 972ddf16e8 25483951b0 M	desktop/core/src/desktop/js/parse/jison/sql/generic/set/set_common.jison
:100644 100644 2d87c49a74 0ce6dafc5f M	desktop/core/src/desktop/js/parse/jison/sql/generic/set/set_option.jison
:100644 100644 8eb106d8d6 2372f5103f M	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/alter_common.jison
:100644 100644 7e6e480967 273b1a5815 M	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/alter_database.jison
:100644 100644 920b5804c5 c801a11d3f M	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/alter_table.jison
:100644 100644 ed7ed60d2a 54154891ad M	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/alter_view.jison
:100644 100644 1e5abbe993 d27235b227 M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_aggregate_function.jison
:100644 100644 7253988063 b732c2c43c M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_common.jison
:100644 100644 b0c29f8821 18206205fd M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_database.jison
:100644 100644 01f2aa8368 d2d388566a M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_function.jison
:100644 100644 aa4e93ab49 6fb2b62e58 M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_role.jison
:100644 100644 1c182a315e d60206a94e M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_table.jison
:100644 100644 ef17cdacf5 d12ef05ca3 M	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_view.jison
:100644 100644 6fdfae259b 9f447ea3df M	desktop/core/src/desktop/js/parse/sql/calcite/calciteAutocompleteParser.js
:100644 100644 63ae913bb3 c0203ecf6e M	desktop/core/src/desktop/js/parse/sql/calcite/calciteSyntaxParser.js
:100644 100644 5d2845eecb 6c1d4e831f M	desktop/core/src/desktop/js/parse/sql/druid/druidAutocompleteParser.js
:100644 100644 f929ee5c17 1a544aa1b9 M	desktop/core/src/desktop/js/parse/sql/druid/druidSyntaxParser.js
:100644 100644 c00f511845 78a536bb5b M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchAutocompleteParser.js
:100644 100644 630f84fe13 bf968895f1 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchSyntaxParser.js
:100644 100644 fbe86ee2bc e53151927c M	desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js
:100644 100644 2d27244a39 d94d9e08ce M	desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js
:100644 100644 a86e0f0b11 2ad8283755 M	desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js
:100644 100644 f0ebfa1b3d 2d862ce67f M	desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js
:100644 100644 00f82eb9cf b301cd0c58 M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 4c819b91d1 c70bc69b1c M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
:100644 100644 8619eae2c2 bd91004a71 M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js
:100644 100644 73f186cb9d 392c5bbef6 M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js
:100644 100644 00fe437a6b 8d2afdcf7d M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js
:100644 100644 473305e25f 0fb1c06951 M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js
:100644 100644 76078983ee b2b156afe7 M	desktop/core/src/desktop/js/parse/sql/sqlParseUtils.js

commit b358a294039925a2f8d7159c0ea401fa37b1c93d
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Aug 7 15:49:52 2020 +0200

    HUE-9429 [editor] Extract and split DROP statements for the impala parser

:000000 100644 0000000000 95c353bf6b A	desktop/core/src/desktop/js/parse/jison/sql/impala/delete/delete.jison
:000000 100644 0000000000 87619f730a A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_aggregate_function.jison
:000000 100644 0000000000 be1898f5f2 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_common.jison
:000000 100644 0000000000 1d0700ac01 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_database.jison
:000000 100644 0000000000 bb1362a640 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_function.jison
:000000 100644 0000000000 29c8476b58 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_incremental_stats.jison
:000000 100644 0000000000 5893194ece A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_role.jison
:000000 100644 0000000000 7f295e09aa A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_stats.jison
:000000 100644 0000000000 c6fc1230b9 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_table.jison
:000000 100644 0000000000 4f0f28d957 A	desktop/core/src/desktop/js/parse/jison/sql/impala/drop/drop_view.jison
:100644 000000 b125e42549 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_drop.jison
:100644 100644 a5547ec2ad fa2e04e3e3 M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:000000 100644 0000000000 ad6946e02f A	desktop/core/src/desktop/js/parse/jison/sql/impala/truncate/truncate_table.jison
:100644 100644 10fd8c4a5d 00f82eb9cf M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 1e843fed50 4c819b91d1 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js

commit 318d6d2ff62084e132a57139e07c088117df3277
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Aug 7 14:48:34 2020 +0200

    HUE-9429 [editor] Extract and split CREATE and analyze type statements for Impala

:100644 100644 1549fc4b6b 920b5804c5 M	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/alter_table.jison
:100644 100644 ec432c13fc 06246bbe7e R097	desktop/core/src/desktop/js/parse/jison/sql/impala/alter/comment_on.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/comment/comment_on.jison
:100644 100644 5f74069a8f a66edd66cc R066	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_analyze.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/compute/compute_stats.jison
:000000 100644 0000000000 1e5abbe993 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_aggregate_function.jison
:000000 100644 0000000000 7253988063 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_common.jison
:000000 100644 0000000000 b0c29f8821 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_database.jison
:000000 100644 0000000000 01f2aa8368 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_function.jison
:000000 100644 0000000000 aa4e93ab49 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_role.jison
:000000 100644 0000000000 1c182a315e A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_table.jison
:000000 100644 0000000000 ef17cdacf5 A	desktop/core/src/desktop/js/parse/jison/sql/impala/create/create_view.jison
:000000 100644 0000000000 c700e0eb73 A	desktop/core/src/desktop/js/parse/jison/sql/impala/invalidate/invalidate_metadata.jison
:000000 100644 0000000000 9af7838119 A	desktop/core/src/desktop/js/parse/jison/sql/impala/refresh/refresh.jison
:100644 000000 8ba6974bcd 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_create.jison
:100644 100644 9e344a17b7 18f8f2ab16 M	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_insert.jison
:100644 100644 ef5e7224df 937fe84dc5 M	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_main.jison
:100644 100644 2ca58c21eb a5547ec2ad M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:100644 100644 6b304d4c6e 10fd8c4a5d M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 c113ebe623 1e843fed50 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
Manual on Chrome
romain
  1. Nice!

  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...