HUE-9429 [editor] Split ALTER, CREATE and DROP into parts for the generic parser

Review Request #15345 — Created July 31, 2020 and submitted

johan
hue
master
hue
Amlesh1902, ranade, romain, Sreenath, yingc
commit 2f5d8c80d262195aa99421a2b3090b7a6c0cfcb6
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jul 31 17:00:13 2020 +0200

    HUE-9429 [editor] Split ALTER, CREATE and DROP into parts for the generic parser

:100644 100644 3888b9f6be fb388e567f M	desktop/core/src/desktop/js/parse/jison/sql/calcite/structure.json
:100644 100644 4b13ef020a 76910ac019 M	desktop/core/src/desktop/js/parse/jison/sql/druid/structure.json
:100644 100644 4b13ef020a 76910ac019 M	desktop/core/src/desktop/js/parse/jison/sql/elasticsearch/structure.json
:100644 100644 4b13ef020a 76910ac019 M	desktop/core/src/desktop/js/parse/jison/sql/flink/structure.json
:000000 100644 0000000000 e437e9f4c5 A	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_statement.jison
:000000 100644 0000000000 efa6af1f5f A	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_table.jison
:100644 100644 82acf8fd6e a5d90fd71c R062	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_alter.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/alter/alter_view.jison
:000000 100644 0000000000 10647bd8fd A	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_database.jison
:000000 100644 0000000000 dbad6462c2 A	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_role.jison
:000000 100644 0000000000 435a4f0d5f A	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_statement.jison
:100644 100644 1329ac6412 537b309667 R072	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_create.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_table.jison
:000000 100644 0000000000 3b6886c3f3 A	desktop/core/src/desktop/js/parse/jison/sql/generic/create/create_view.jison
:000000 100644 0000000000 e573e27886 A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_database.jison
:000000 100644 0000000000 62c1f085c9 A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_role.jison
:000000 100644 0000000000 9b7192245c A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_statement.jison
:000000 100644 0000000000 861a0986a9 A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_table.jison
:000000 100644 0000000000 4dd719e61a A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/drop_view.jison
:000000 100644 0000000000 2fdee25da2 A	desktop/core/src/desktop/js/parse/jison/sql/generic/drop/truncate_table.jison
:100644 000000 0e3aa53933 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_drop.jison
:100644 100644 ae17e89e9f a91ca3100e M	desktop/core/src/desktop/js/parse/jison/sql/generic/structure.json
:100644 100644 279b3f1410 c031c2b4c8 M	desktop/core/src/desktop/js/parse/jison/sql/ksql/structure.json
:100644 100644 4b13ef020a 76910ac019 M	desktop/core/src/desktop/js/parse/jison/sql/phoenix/structure.json
:100644 100644 c5a754e005 55a6beca33 M	desktop/core/src/desktop/js/parse/sql/druid/druidAutocompleteParser.js
:100644 100644 b48ca53de4 49f7c195dd M	desktop/core/src/desktop/js/parse/sql/druid/druidSyntaxParser.js
:100644 100644 8756c8512a 87ee4d1f4c M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchAutocompleteParser.js
:100644 100644 b35fc36e43 0bbff845f3 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchSyntaxParser.js
:100644 100644 2eec8c5b08 6219f8a91c M	desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js
:100644 100644 3b822ae6fa 67df754918 M	desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js
:100644 100644 5e4b459bb5 7fd44a5b39 M	desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js
:100644 100644 850af68187 f63daa2720 M	desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js
:100644 100644 3d290d2551 a86a1b985b M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js
:100644 100644 f63e7b6987 0724b9220f M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js
:100644 100644 7a90b2a8a7 a29233eeaf M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js
:100644 100644 b55f929141 20cf7ce745 M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js

commit 6216227c9e9d3ee7a27e55443622ffef3426dea8
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri Jul 31 15:46:48 2020 +0200

    HUE-9429 [editor] Merge the generic2 parser back into generic

:100644 100644 fa1976a944 4b13ef020a M	desktop/core/src/desktop/js/parse/jison/sql/druid/structure.json
:100644 100644 fa1976a944 4b13ef020a M	desktop/core/src/desktop/js/parse/jison/sql/elasticsearch/structure.json
:100644 100644 fa1976a944 4b13ef020a M	desktop/core/src/desktop/js/parse/jison/sql/flink/structure.json
:100644 100644 4d9141d600 4d9141d600 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/cte_select_statement.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/cte_select_statement.jison
:100644 100644 3ad17586f3 3ad17586f3 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/from_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/from_clause.jison
:100644 100644 82d8bc62ed 82d8bc62ed R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/group_by_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/group_by_clause.jison
:100644 100644 343a9344bf 343a9344bf R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/having_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/having_clause.jison
:100644 100644 c57ac0af15 c57ac0af15 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/joins.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/joins.jison
:100644 100644 612e2858b6 612e2858b6 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/limit_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/limit_clause.jison
:100644 100644 32009c096b 32009c096b R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/order_by_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/order_by_clause.jison
:100644 100644 f03a983df3 f03a983df3 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/select_conditions.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/select_conditions.jison
:100644 100644 1e4aab77e3 1e4aab77e3 R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/select_statement.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/select_statement.jison
:100644 100644 3ae375aead 3ae375aead R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/union_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/union_clause.jison
:100644 100644 d047d93f0e d047d93f0e R100	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/where_clause.jison	desktop/core/src/desktop/js/parse/jison/sql/generic/select/where_clause.jison
:100644 100644 7f6eb017f2 f6264068db M	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_main.jison
:100644 100644 e9751b75b2 ae17e89e9f M	desktop/core/src/desktop/js/parse/jison/sql/generic/structure.json
:100644 000000 f6264068db 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/generic2/sql_main.jison
:100644 000000 1bdd8b5b8e 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/generic2/structure.json
:100644 100644 073447f62d 279b3f1410 M	desktop/core/src/desktop/js/parse/jison/sql/ksql/structure.json
:100644 100644 fa1976a944 4b13ef020a M	desktop/core/src/desktop/js/parse/jison/sql/phoenix/structure.json
:100644 100644 846dc7c50a c5a754e005 M	desktop/core/src/desktop/js/parse/sql/druid/druidAutocompleteParser.js
:100644 100644 78a1850650 b48ca53de4 M	desktop/core/src/desktop/js/parse/sql/druid/druidSyntaxParser.js
:100644 100644 b7dc3f94dc 8756c8512a M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchAutocompleteParser.js
:100644 100644 cfed30ac62 b35fc36e43 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchSyntaxParser.js
:100644 100644 565e224dc1 2eec8c5b08 M	desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js
:100644 100644 518166c8d2 3b822ae6fa M	desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js
:100644 100644 3764fa4598 5e4b459bb5 M	desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js
:100644 100644 0b4285b8a2 850af68187 M	desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js
:100644 000000 2f580708f0 0000000000 D	desktop/core/src/desktop/js/parse/sql/generic2/generic2AutocompleteParser.js
:100644 000000 a4577a4c1e 0000000000 D	desktop/core/src/desktop/js/parse/sql/generic2/generic2SyntaxParser.js
:100644 000000 3bfedb0af5 0000000000 D	desktop/core/src/desktop/js/parse/sql/generic2/sqlParseSupport.js
:100644 100644 64b25d1e79 3d290d2551 M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js
:100644 100644 32de491251 f63e7b6987 M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js
:100644 100644 caf90459cd 7a90b2a8a7 M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js
:100644 100644 7448c301b4 b55f929141 M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js
:100644 100644 ed69b55eca 851ff101f3 M	desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js

commit 91eaa3bcf25dc15fe4e4fca5f29b3c428f882997
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Jul 30 16:08:47 2020 +0200

    HUE-9429 [editor] Extract cte, joins, from and union to separate grammar files for the generic 2 parser

:000000 100644 0000000000 4d9141d600 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/cte_select_statement.jison
:000000 100644 0000000000 3ad17586f3 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/from_clause.jison
:000000 100644 0000000000 c57ac0af15 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/joins.jison
:100644 100644 32fd5d3ab8 1e4aab77e3 M	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/select_statement.jison
:000000 100644 0000000000 3ae375aead A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/union_clause.jison
:100644 100644 b9e733c4c2 f6264068db M	desktop/core/src/desktop/js/parse/jison/sql/generic2/sql_main.jison
:100644 100644 c6dede930d 1bdd8b5b8e M	desktop/core/src/desktop/js/parse/jison/sql/generic2/structure.json
:100644 100644 96d5fe0692 2f580708f0 M	desktop/core/src/desktop/js/parse/sql/generic2/generic2AutocompleteParser.js
:100644 100644 f86aa2a836 a4577a4c1e M	desktop/core/src/desktop/js/parse/sql/generic2/generic2SyntaxParser.js
:000000 100644 0000000000 3bfedb0af5 A	desktop/core/src/desktop/js/parse/sql/generic2/sqlParseSupport.js

commit 90555ad18d97e5c11d95cfec7c76883db75b2b99
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Jul 30 14:30:06 2020 +0200

    HUE-9429 [editor] Extract the generic 2 select conditions to separate jison files

:000000 100644 0000000000 82d8bc62ed A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/group_by_clause.jison
:000000 100644 0000000000 343a9344bf A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/having_clause.jison
:000000 100644 0000000000 612e2858b6 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/limit_clause.jison
:000000 100644 0000000000 32009c096b A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/order_by_clause.jison
:000000 100644 0000000000 f03a983df3 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/select_conditions.jison
:100644 100644 f74ed14682 32fd5d3ab8 R059	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/sql_select.jison	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/select_statement.jison
:000000 100644 0000000000 d047d93f0e A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/where_clause.jison
:100644 100644 8eae0917c3 b9e733c4c2 M	desktop/core/src/desktop/js/parse/jison/sql/generic2/sql_main.jison
:100644 100644 c9113ee446 c6dede930d M	desktop/core/src/desktop/js/parse/jison/sql/generic2/structure.json
:100644 100644 3e4f868e29 96d5fe0692 M	desktop/core/src/desktop/js/parse/sql/generic2/generic2AutocompleteParser.js
:100644 100644 a47b190a28 f86aa2a836 M	desktop/core/src/desktop/js/parse/sql/generic2/generic2SyntaxParser.js

commit 7bbbf9cd52e9df14984df8eccb92482173399893
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Jul 30 13:07:22 2020 +0200

    HUE-9429 [editor] Extract SELECT grammar to a separate file in generic 2

:000000 100644 0000000000 f74ed14682 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/select/sql_select.jison
:000000 100644 0000000000 8eae0917c3 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/sql_main.jison
:100644 100644 fa1976a944 c9113ee446 M	desktop/core/src/desktop/js/parse/jison/sql/generic2/structure.json
:100644 100644 964de128e8 3e4f868e29 M	desktop/core/src/desktop/js/parse/sql/generic2/generic2AutocompleteParser.js
:100644 100644 2665f345e1 a47b190a28 M	desktop/core/src/desktop/js/parse/sql/generic2/generic2SyntaxParser.js

commit b5034e38ad463155840509e555ff6266cf32d600
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Thu Jul 30 13:05:12 2020 +0200

    HUE-9429 [editor] Introduce a new generic2 parser as base for improved structure

:000000 100644 0000000000 fa1976a944 A	desktop/core/src/desktop/js/parse/jison/sql/generic2/structure.json
:000000 100644 0000000000 964de128e8 A	desktop/core/src/desktop/js/parse/sql/generic2/generic2AutocompleteParser.js
:000000 100644 0000000000 2665f345e1 A	desktop/core/src/desktop/js/parse/sql/generic2/generic2SyntaxParser.js
:100644 100644 851ff101f3 ed69b55eca M	desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js
Manual on Chrome
romain
  1. Ship It!
  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...