This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 7bb56afb9 [AMORO-3933] Fix Playground demo failure due
`PartitionExpressionForMetastore class not found` (#3935)
7bb56afb9 is described below
commit 7bb56afb97cc01f48cc56302969b1c5bde39e35d
Author: Fei Wang <[email protected]>
AuthorDate: Mon Nov 17 06:45:12 2025 -0800
[AMORO-3933] Fix Playground demo failure due
`PartitionExpressionForMetastore class not found` (#3935)
* Fix Playground demo failure due PartitionExpressionForMetastore class not
found
* Revert "Fix Playground demo failure due PartitionExpressionForMetastore
class not found"
This reverts commit fea6ddcbbe2e8625a58bdd6e0291012da4eb5367.
* add for runtime hive-exec
---------
Co-authored-by: Xu Bai <[email protected]>
---
amoro-ams/pom.xml | 7 ++
amoro-common/pom.xml | 6 ++
amoro-format-mixed/amoro-mixed-trino/pom.xml | 8 ++
dev/deps/dependencies-hadoop-2-spark-3.3 | 1 +
dev/deps/dependencies-hadoop-3-spark-3.5 | 1 +
pom.xml | 136 +++++++++++++++++++++++++++
6 files changed, 159 insertions(+)
diff --git a/amoro-ams/pom.xml b/amoro-ams/pom.xml
index 841bf2abc..cee916f3d 100644
--- a/amoro-ams/pom.xml
+++ b/amoro-ams/pom.xml
@@ -352,6 +352,13 @@
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-exec</artifactId>
+ <classifier>core</classifier>
+ <scope>runtime</scope>
+ </dependency>
+
<!-- test dependencies -->
<dependency>
<groupId>org.apache.amoro</groupId>
diff --git a/amoro-common/pom.xml b/amoro-common/pom.xml
index 30cb69fc7..8d13c5b6e 100644
--- a/amoro-common/pom.xml
+++ b/amoro-common/pom.xml
@@ -138,6 +138,12 @@
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-exec</artifactId>
+ <classifier>core</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/amoro-format-mixed/amoro-mixed-trino/pom.xml
b/amoro-format-mixed/amoro-mixed-trino/pom.xml
index b401943d2..202d74a0b 100644
--- a/amoro-format-mixed/amoro-mixed-trino/pom.xml
+++ b/amoro-format-mixed/amoro-mixed-trino/pom.xml
@@ -538,6 +538,14 @@
<version>${trino.version}</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-exec</artifactId>
+ <version>${hive.version}</version>
+ <classifier>core</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/dev/deps/dependencies-hadoop-2-spark-3.3
b/dev/deps/dependencies-hadoop-2-spark-3.3
index 75bf5ce6e..fd35cff13 100644
--- a/dev/deps/dependencies-hadoop-2-spark-3.3
+++ b/dev/deps/dependencies-hadoop-2-spark-3.3
@@ -124,6 +124,7 @@ hadoop-yarn-registry/2.10.2//hadoop-yarn-registry-2.10.2.jar
hadoop-yarn-server-common/2.10.2//hadoop-yarn-server-common-2.10.2.jar
hamcrest-core/1.3//hamcrest-core-1.3.jar
hive-common/2.3.8//hive-common-2.3.8.jar
+hive-exec/2.3.8/core/hive-exec-2.3.8-core.jar
hive-metastore/2.3.8//hive-metastore-2.3.8.jar
hive-serde/2.3.8//hive-serde-2.3.8.jar
hive-service-rpc/2.3.8//hive-service-rpc-2.3.8.jar
diff --git a/dev/deps/dependencies-hadoop-3-spark-3.5
b/dev/deps/dependencies-hadoop-3-spark-3.5
index 5b212672d..1689f0ed6 100644
--- a/dev/deps/dependencies-hadoop-3-spark-3.5
+++ b/dev/deps/dependencies-hadoop-3-spark-3.5
@@ -120,6 +120,7 @@ hadoop-yarn-common/3.4.0//hadoop-yarn-common-3.4.0.jar
hamcrest-core/1.3//hamcrest-core-1.3.jar
hive-classification/3.1.3//hive-classification-3.1.3.jar
hive-common/3.1.3//hive-common-3.1.3.jar
+hive-exec/3.1.3/core/hive-exec-3.1.3-core.jar
hive-metastore/3.1.3//hive-metastore-3.1.3.jar
hive-serde/3.1.3//hive-serde-3.1.3.jar
hive-service-rpc/3.1.3//hive-service-rpc-3.1.3.jar
diff --git a/pom.xml b/pom.xml
index a44a9f64b..b8ebbd120 100644
--- a/pom.xml
+++ b/pom.xml
@@ -740,6 +740,10 @@
<groupId>org.apache.curator</groupId>
<artifactId>*</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.apache.orc</groupId>
<artifactId>*</artifactId>
@@ -748,6 +752,138 @@
<groupId>org.codehaus.janino</groupId>
<artifactId>*</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-metastore</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-shims</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-vector-code-gen</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>spark-client</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.esotericsoftware.kryo</groupId>
+ <artifactId>kryo</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro-mapred</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.calcite</groupId>
+ <artifactId>calcite-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.calcite</groupId>
+ <artifactId>calcite-avatica</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libthrift</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libfb303</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-compress</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jline</groupId>
+ <artifactId>jline</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-llap-tez</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.calcite</groupId>
+ <artifactId>calcite-druid</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.calcite.avatica</groupId>
+ <artifactId>avatica</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>eigenbase-properties</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>aggdesigner-algorithm</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.antlr</groupId>
+ <artifactId>ST4</artifactId>
+ </exclusion>
</exclusions>
</dependency>