HUE-9429 [editor] Split Impala UDF grammar and reduce duplication with the generic parser

Review Request #15363 — Created Aug. 10, 2020 and submitted

johan
hue
master
hue
Amlesh1902, ranade, romain, Sreenath, yingc
commit a9abc84c3c21f7d55ea6558294a453314a8da94d
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Aug 10 14:23:55 2020 +0200

    HUE-9429 [editor] Split Impala UDF grammar and reduce duplication with the generic parser

:100644 000000 b34f314209 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_udf.jison
:100644 100644 68bae26156 e09261dcc4 M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:000000 100644 0000000000 a8f557ebf2 A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/aggregate_common.jison
:000000 100644 0000000000 48b1b8d26f A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/appx_median.jison
:000000 100644 0000000000 abc49963c3 A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/count.jison
:000000 100644 0000000000 6c3497e4ba A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/group_concat.jison
:000000 100644 0000000000 02a64a3381 A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/ndv.jison
:000000 100644 0000000000 beb7fd0392 A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/stddev.jison
:000000 100644 0000000000 6095f89707 A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/sum.jison
:000000 100644 0000000000 293fad468f A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/variance_pop.jison
:000000 100644 0000000000 1af2b3ab9b A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/aggregate/variance_samp.jison
:000000 100644 0000000000 30a076e3cc A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/function/extract.jison
:000000 100644 0000000000 ad7acbfb2a A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/function/replace.jison
:000000 100644 0000000000 b8d03b590a A	desktop/core/src/desktop/js/parse/jison/sql/impala/udf/function/user.jison
:100644 100644 475848dbde d8fd4e93fb M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 48604c7b8c b070933a17 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js

commit 14f5b300d4c390ad4df175638ed06230aa0c33ea
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Aug 10 13:01:01 2020 +0200

    HUE-9429 [editor] Extract SHOW and UPDATE into separate grammar files for Impala

:000000 100644 0000000000 179c9c141b A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_column_stats.jison
:000000 100644 0000000000 3b4a4965e7 A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_common.jison
:000000 100644 0000000000 e6301d2f8a A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_create_table.jison
:000000 100644 0000000000 35c5a88032 A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_current_roles.jison
:000000 100644 0000000000 db33c71532 A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_databases.jison
:000000 100644 0000000000 232ba663cd A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_files.jison
:000000 100644 0000000000 adc95aa00f A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_functions.jison
:000000 100644 0000000000 9249c1efaa A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_grant.jison
:000000 100644 0000000000 a0e28bcb4a A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_partitions.jison
:000000 100644 0000000000 4ea30460fd A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_range_partitions.jison
:000000 100644 0000000000 21e9c8f9c5 A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_role.jison
:000000 100644 0000000000 ba4685f00a A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_roles.jison
:000000 100644 0000000000 81e9d2782c A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_table_stats.jison
:000000 100644 0000000000 b5d8282325 A	desktop/core/src/desktop/js/parse/jison/sql/impala/show/show_tables.jison
:100644 000000 81af37bcd1 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_show.jison
:100644 100644 83c7902135 68bae26156 M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:100644 100644 2c90f6e9e6 2c90f6e9e6 R100	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_update.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/update/update.jison
:100644 100644 d8e1254f66 475848dbde M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 1fadd1e9c7 48604c7b8c M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
:100644 100644 d0dd0242cd fa48cfc2cb M	desktop/core/src/desktop/js/parse/sql/impala/sqlParseSupport.js

commit 5e5e42b1e0635f9aabb1c3a3e0b5f50b56b41660
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Aug 10 12:21:38 2020 +0200

    HUE-9429 [editor] Extract INSERT, UPSERT and SET into separate grammar files for Impala

:000000 100644 0000000000 fa65abd77b A	desktop/core/src/desktop/js/parse/jison/sql/impala/insert/cte_insert.jison
:000000 100644 0000000000 dee4fd13d6 A	desktop/core/src/desktop/js/parse/jison/sql/impala/insert/insert.jison
:000000 100644 0000000000 74e71f67c0 A	desktop/core/src/desktop/js/parse/jison/sql/impala/insert/insert_common.jison
:100644 100644 4606b742ab 4606b742ab R100	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_set.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/set/set.jison
:100644 000000 18f8f2ab16 0000000000 D	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_insert.jison
:100644 100644 9471bfdcbf 83c7902135 M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:000000 100644 0000000000 6adbe5a337 A	desktop/core/src/desktop/js/parse/jison/sql/impala/upsert/cte_upsert.jison
:000000 100644 0000000000 cefa54ce1c A	desktop/core/src/desktop/js/parse/jison/sql/impala/upsert/upsert.jison
:100644 100644 eb0f058e3a d8e1254f66 M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 1d76101bf0 1fadd1e9c7 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js

commit d1f2baabc62a3bff06e22633af0da08fbbb39939
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Aug 10 11:22:24 2020 +0200

    HUE-9429 [editor] Extract GRANT, REVOKE and LOAD into separate grammar files for Impala

:000000 100644 0000000000 8ec5f20da4 A	desktop/core/src/desktop/js/parse/jison/sql/impala/grant/grant_common.jison
:100644 100644 2d9c47b9f2 88f20aa8e7 R062	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_grant.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/grant/grant_on.jison
:000000 100644 0000000000 3ef7bb2955 A	desktop/core/src/desktop/js/parse/jison/sql/impala/grant/grant_role.jison
:100644 100644 2978e8ed05 35da7c95fa R096	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_load.jison	desktop/core/src/desktop/js/parse/jison/sql/impala/load/load_data.jison
:000000 100644 0000000000 5e993644ed A	desktop/core/src/desktop/js/parse/jison/sql/impala/revoke/revoke_common.jison
:000000 100644 0000000000 ba740f932b A	desktop/core/src/desktop/js/parse/jison/sql/impala/revoke/revoke_on.jison
:000000 100644 0000000000 32f3c7f1ff A	desktop/core/src/desktop/js/parse/jison/sql/impala/revoke/revoke_role.jison
:100644 100644 fa2e04e3e3 9471bfdcbf M	desktop/core/src/desktop/js/parse/jison/sql/impala/structure.json
:100644 100644 b301cd0c58 eb0f058e3a M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 c70bc69b1c 1d76101bf0 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
:100644 100644 047a660187 d0dd0242cd M	desktop/core/src/desktop/js/parse/sql/impala/sqlParseSupport.js
Manual on Chrome
romain
  1. Nice!

  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...