IMPALA-10379: Add missing HiveLexer classes to shared-deps

HIVE-19064 introduced additional lexer classes that are required during
runtime. This commit adds the missing HiveLexer lexer classes to the
shared-deps. Without these classes queries such as 'select 1 as "``"'
would fail with 'NoClassDefFoundError'.

Testing:
 - added a misc.test to verify that the classes are available and that
IMPALA-9641 is fixed by HIVE-19064

Change-Id: I6e3a00335983f26498c1130ab9f109f6e67256f5
Reviewed-on: http://gerrit.cloudera.org:8080/17019
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
Tamas Mate
2021-02-01 10:41:40 +01:00
committed by Impala Public Jenkins
parent 81d5377c27
commit 701714b10a
2 changed files with 12 additions and 0 deletions

View File

@@ -97,6 +97,9 @@ the same dependencies
<include>org/apache/hadoop/hive/ql/exec/FunctionUtils*</include>
<include>org/apache/hadoop/hive/ql/parse/GenericHiveLexer*</include>
<include>org/apache/hadoop/hive/ql/parse/HiveLexer*</include>
<include>org/apache/hadoop/hive/ql/parse/ANTLRNoCaseStringStream*</include>
<include>org/apache/hadoop/hive/ql/parse/ParseError*</include>
<include>org/apache/hadoop/hive/ql/parse/Quotation*</include>
<include>org/apache/hadoop/hive/ql/udf/**/*</include>
<!-- Many of the UDFs are annotated with their vectorized counter-parts.
Including them makes sure that we don't break -->