This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-playground-ci-nightly
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-playground-ci-nightly by
this push:
new 9235db9cbb7 Add calcite dependency
9235db9cbb7 is described below
commit 9235db9cbb76ad5a91f6f90dad7b852d012a1598
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Wed Oct 1 23:22:51 2025 +0400
Add calcite dependency
---
examples/java/build.gradle | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/examples/java/build.gradle b/examples/java/build.gradle
index 81e208ffaf3..f704e7023a1 100644
--- a/examples/java/build.gradle
+++ b/examples/java/build.gradle
@@ -109,6 +109,7 @@ dependencies {
implementation "com.fasterxml.jackson.core:jackson-core:2.14.1"
runtimeOnly library.java.hadoop_client
runtimeOnly library.java.bigdataoss_gcs_connector
+ runtimeOnly library.java.vendored_calcite_1_40_0
testImplementation project(path: ":runners:direct-java", configuration:
"shadow")
testImplementation project(":sdks:java:io:google-cloud-platform")
testImplementation project(":sdks:java:extensions:ml")
@@ -184,14 +185,3 @@ task wordCount(type:JavaExec) {
systemProperties = System.getProperties()
args = ["--output=/tmp/output.txt"]
}
-
-tasks.named("execute", JavaExec).configure {
- doFirst {
- // If we’re launching a class from the SQL submodule, include that
subproject’s runtime CP
- if (mainClass?.startsWith("org.apache.beam.examples") &&
- // quick heuristic: all SQL examples live under the sql submodule
- (mainClass?.toLowerCase()?.contains("sql") ||
mainClass?.contains("Sql"))) {
- classpath = classpath +
project(":examples:java:sql").sourceSets.main.runtimeClasspath
- }
- }
-}