HUE-7738 [editor] Remove the dependency on sqlFunctions from all parsers

Review Request #15194 — Created May 29, 2020 and submitted

johan
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit a9eae2e5db296999ef5e8230d3903ea755cb85b9
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri May 29 14:48:31 2020 +0200

    HUE-7738 [editor] Remove the dependency on sqlFunctions from all parsers
    
    The parsers will not try to resolve return types of UDFs anymore, instead they now report the type as "UDFREF" along with the function name in the udfRef attribute.

:100644 100644 ab1505adf2 e5a0de9601 M	desktop/core/src/desktop/js/parse/jison/sql/calcite/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/calcite/sql_valueExpression.jison
:100644 100644 3aaf9f9d0c 7d70a7b92d M	desktop/core/src/desktop/js/parse/jison/sql/druid/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/druid/sql_valueExpression.jison
:100644 100644 3aaf9f9d0c 7d70a7b92d M	desktop/core/src/desktop/js/parse/jison/sql/elasticsearch/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/elasticsearch/sql_valueExpression.jison
:100644 100644 3aaf9f9d0c 7d70a7b92d M	desktop/core/src/desktop/js/parse/jison/sql/flink/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/flink/sql_valueExpression.jison
:100644 100644 3aaf9f9d0c 7d70a7b92d M	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/generic/sql_valueExpression.jison
:100644 100644 8cfc554afe 75a401a244 M	desktop/core/src/desktop/js/parse/jison/sql/hive/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/hive/sql_valueExpression.jison
:100644 100644 a0c17a6a08 26c4db111d M	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_main.jison
:100644 100644 dce145133d 433010cc30 M	desktop/core/src/desktop/js/parse/jison/sql/impala/sql_valueExpression.jison
:100644 100644 0d3fedc808 e8f5ebb1e8 M	desktop/core/src/desktop/js/parse/jison/sql/ksql/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/ksql/sql_valueExpression.jison
:100644 100644 3aaf9f9d0c 7d70a7b92d M	desktop/core/src/desktop/js/parse/jison/sql/phoenix/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/phoenix/sql_valueExpression.jison
:100644 100644 ed6dac5beb 6d4e4af23c M	desktop/core/src/desktop/js/parse/jison/sql/presto/sql_main.jison
:100644 100644 3dcc33925c 94e0cbbda1 M	desktop/core/src/desktop/js/parse/jison/sql/presto/sql_valueExpression.jison
:100644 100644 9e6a8836d4 1f7fa30e22 M	desktop/core/src/desktop/js/parse/jison/sql_main.jison
:100644 100644 e0fba75c2b 8e50c021cb M	desktop/core/src/desktop/js/parse/jison/sql_valueExpression.jison
:100644 100644 b80cf3c2f2 58d135511b M	desktop/core/src/desktop/js/parse/sql/calcite/calciteAutocompleteParser.js
:100644 100644 c7b9c06a92 e23bf04650 M	desktop/core/src/desktop/js/parse/sql/calcite/calciteSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/calcite/sqlParseSupport.js
:100644 100644 eeeed5b306 0c0a792cb9 M	desktop/core/src/desktop/js/parse/sql/calcite/test/calciteAutocompleteParser.Locations.test.js
:100644 100644 3dd3b1718c 624e52120b M	desktop/core/src/desktop/js/parse/sql/calcite/test/calciteAutocompleteParser.Select.test.js
:100644 100644 cd74ae45ee 3dbf85c9c5 M	desktop/core/src/desktop/js/parse/sql/druid/druidAutocompleteParser.js
:100644 100644 8f305828f8 ec0398f924 M	desktop/core/src/desktop/js/parse/sql/druid/druidSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/druid/sqlParseSupport.js
:100644 100644 24fe67ed3a 50ca4fb4fa M	desktop/core/src/desktop/js/parse/sql/druid/test/druidAutocompleteParser.Locations.test.js
:100644 100644 0d4c67b20d 1f37a5bbbf M	desktop/core/src/desktop/js/parse/sql/druid/test/druidAutocompleteParser.Select.test.js
:100644 100644 21c9967c05 b76f024f8a M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchAutocompleteParser.js
:100644 100644 84e5dbfe23 8ad9263383 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/elasticsearchSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/sqlParseSupport.js
:100644 100644 b7b04a7590 5126255891 M	desktop/core/src/desktop/js/parse/sql/elasticsearch/test/elasticsearchAutocompleteParser.Locations.test.js
:100644 100644 0e406f33ae 16e1f37ebe M	desktop/core/src/desktop/js/parse/sql/elasticsearch/test/elasticsearchAutocompleteParser.Select.test.js
:100644 100644 21c8d3cd29 f627f87313 M	desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js
:100644 100644 36523c5938 bb68f1b2f0 M	desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/flink/sqlParseSupport.js
:100644 100644 6c13948035 2724a36721 M	desktop/core/src/desktop/js/parse/sql/flink/test/flinkAutocompleteParser.Locations.test.js
:100644 100644 748ac50fee e664217c15 M	desktop/core/src/desktop/js/parse/sql/flink/test/flinkAutocompleteParser.Select.test.js
:100644 100644 fa45458349 43ceb95308 M	desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js
:100644 100644 df9558b652 e6cc43aebc M	desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/generic/sqlParseSupport.js
:100644 100644 35aef252af 874961456b M	desktop/core/src/desktop/js/parse/sql/generic/test/genericAutocompleteParser.Locations.test.js
:100644 100644 5681af442c 925f078a4f M	desktop/core/src/desktop/js/parse/sql/generic/test/genericAutocompleteParser.Select.test.js
:100644 100644 5b3ba08ba9 8813d56eec M	desktop/core/src/desktop/js/parse/sql/hive/hiveAutocompleteParser.js
:100644 100644 95ed5967dd 5b2e0bad0a M	desktop/core/src/desktop/js/parse/sql/hive/hiveSyntaxParser.js
:100644 100644 14d01a86d6 94bb4e0d98 M	desktop/core/src/desktop/js/parse/sql/hive/sqlParseSupport.js
:100644 100644 b8875ab0b6 4d730ce0db M	desktop/core/src/desktop/js/parse/sql/hive/test/hiveAutocompleteParser.Select.test.js
:100644 100644 06a1613d08 602f00b0c0 M	desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
:100644 100644 b90ec46ede 58bf0ed187 M	desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
:100644 100644 51e8a60be6 2d0f8b2c9a M	desktop/core/src/desktop/js/parse/sql/impala/sqlParseSupport.js
:100644 100644 517eb21c29 8db3f1d212 M	desktop/core/src/desktop/js/parse/sql/impala/test/impalaAutocompleteParser.Locations.test.js
:100644 100644 6a0132fd7a e9a35d99c3 M	desktop/core/src/desktop/js/parse/sql/impala/test/impalaAutocompleteParser.Select.test.js
:100644 100644 0852e638c2 102cb7695b M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js
:100644 100644 c18aa34964 7302cf24e1 M	desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js
:100644 100644 ff4df81171 a22b31693d M	desktop/core/src/desktop/js/parse/sql/ksql/sqlParseSupport.js
:100644 100644 a0da6d4653 a6685866ac M	desktop/core/src/desktop/js/parse/sql/ksql/test/ksqlAutocompleteParser.Locations.test.js
:100644 100644 65a7ea4887 709887f0e5 M	desktop/core/src/desktop/js/parse/sql/ksql/test/ksqlAutocompleteParser.Select.test.js
:100644 100644 f83996482a b7ebf3299d M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js
:100644 100644 bde3ab1f23 14d4ffa9dd M	desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js
:100644 100644 b9b6052b4f 5836e56844 M	desktop/core/src/desktop/js/parse/sql/phoenix/sqlParseSupport.js
:100644 100644 280dc250f9 52fc9347e9 M	desktop/core/src/desktop/js/parse/sql/phoenix/test/phoenixAutocompleteParser.Locations.test.js
:100644 100644 43cb6d5c5c bdec53bdfd M	desktop/core/src/desktop/js/parse/sql/phoenix/test/phoenixAutocompleteParser.Select.test.js
:100644 100644 495106ccae 4bc94dd6a8 M	desktop/core/src/desktop/js/parse/sql/presto/prestoAutocompleteParser.js
:100644 100644 32ff0a787a cb574ec0ff M	desktop/core/src/desktop/js/parse/sql/presto/prestoSyntaxParser.js
:100644 100644 de4c32c582 1cc5f37b6c M	desktop/core/src/desktop/js/parse/sql/presto/sqlParseSupport.js
:100644 100644 f00d480e86 9a05e28325 M	desktop/core/src/desktop/js/parse/sql/presto/test/prestoAutocompleteParser.Select.test.js
:100644 100644 8a3dcb2854 2ba574a694 M	desktop/core/src/desktop/js/parse/sql/sqlParseUtils.js
:100644 000000 d572bd60dc 0000000000 D	desktop/core/src/desktop/js/sql/sqlFunctions.js

commit 4641cb2438f4a081f7eece0d0098e86bccb4bc95
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Fri May 29 12:30:17 2020 +0200

    HUE-7738 [editor] Extract shared type logic from the parsers into one place

:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/calcite/sqlParseSupport.js
:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/druid/sqlParseSupport.js
:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/elasticsearch/sqlParseSupport.js
:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/flink/sqlParseSupport.js
:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/generic/sqlParseSupport.js
:100644 100644 0815722825 14d01a86d6 M	desktop/core/src/desktop/js/parse/sql/hive/sqlParseSupport.js
:100644 100644 ac7740c54f 51e8a60be6 M	desktop/core/src/desktop/js/parse/sql/impala/sqlParseSupport.js
:100644 100644 a60b115306 ff4df81171 M	desktop/core/src/desktop/js/parse/sql/ksql/sqlParseSupport.js
:100644 100644 14aeb7456e b9b6052b4f M	desktop/core/src/desktop/js/parse/sql/phoenix/sqlParseSupport.js
:100644 100644 f1f11438e3 de4c32c582 M	desktop/core/src/desktop/js/parse/sql/presto/sqlParseSupport.js
:000000 100644 0000000000 8a3dcb2854 A	desktop/core/src/desktop/js/parse/sql/sqlParseUtils.js
Manual on Chrome
romain
  1. Ship It!
  2. 
      
johan
Review request changed

Status: Closed (submitted)

Loading...