Aggarwal-Raghav commented on code in PR #6985:
URL: https://github.com/apache/hive/pull/6985#discussion_r4781200241
##########
standalone-metastore/pom.xml:
##########
@@ -68,7 +68,7 @@
<maven.versions.plugin.version>2.16.0</maven.versions.plugin.version>
<maven.surefire.plugin.version>3.5.3</maven.surefire.plugin.version>
<!-- Dependency versions -->
- <antlr.version>4.9.3</antlr.version>
+ <antlr.version>4.13.1</antlr.version>
Review Comment:
Command used to run spark test suite:
```
$ mvn scalatest:test -pl sql/hive -Dtest=none \
-Pyarn,hadoop-3.5,hive-thriftserver,kubernetes,tusker,scala-2.13 \
-Dhive.version=4.2.1.3.5.0-HIVE30279 \
-DwildcardSuites=org.apache.spark.sql.hive.HiveExternalCatalogSuite \
-Dtest_classpath="$(cat sql/hive/target/test-classpath.txt)"
```
Validations performed:
```
$ cd ~/.m2/repository/org/apache/hive/hive-standalone-metastore-server
$ for v in 4.2.1.3.5.0.0-0 4.2.1.3.5.0-HIVE30279
set J $v/hive-standalone-metastore-server-$v.jar
echo "=== $v"
echo -n "unshaded org/antlr entries: "; unzip -Z1 $J | grep -c
'^org/antlr/'
echo -n "shaded antlr entries: "; unzip -Z1 $J | grep -c
'metastore/shaded/org/antlr/'
rm -rf /tmp/pfl; mkdir /tmp/pfl
unzip -q -o $J
'org/apache/hadoop/hive/metastore/parser/PartitionFilterLexer.class' -d /tmp/pfl
javap -cp /tmp/pfl
org.apache.hadoop.hive.metastore.parser.PartitionFilterLexer | sed -n 2p
end
=== 4.2.1.3.5.0.0-0
unshaded org/antlr entries: 0
shaded antlr entries: 0
public class org.apache.hadoop.hive.metastore.parser.PartitionFilterLexer
extends org.antlr.v4.runtime.Lexer {
=== 4.2.1.3.5.0-HIVE30279
unshaded org/antlr entries: 0
shaded antlr entries: 229
public class org.apache.hadoop.hive.metastore.parser.PartitionFilterLexer
extends org.apache.hadoop.hive.metastore.shaded.org.antlr.v4.runtime.Lexer {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]