Skip to content

Commit 7076ad4

Browse files
committed
Resolve compile error
Signed-off-by: Lantao Jin <ltjin@amazon.com>
1 parent 0635b9a commit 7076ad4

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

async-query-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
id 'jacoco'
1010
id 'antlr'
1111
id 'com.diffplug.spotless' version '6.22.0'
12-
id 'com.github.johnrengelman.shadow'
12+
id 'com.gradleup.shadow'
1313
}
1414

1515
repositories {

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,13 @@ allprojects {
139139
resolutionStrategy.force "org.apache.httpcomponents.client5:httpclient5:5.4.4"
140140
resolutionStrategy.force "org.apache.httpcomponents.core5:httpcore5:5.3.4"
141141
resolutionStrategy.force "org.apache.httpcomponents.core5:httpcore5-h2:5.3.4"
142-
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-annotations:2.18.2"
143-
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-core:2.18.2"
144-
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-databind:2.18.2"
145-
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.18.2"
146-
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.18.2"
147-
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.18.2"
142+
resolutionStrategy.force "com.fasterxml.jackson:jackson-bom:2.18.6"
143+
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-annotations:2.18.6"
144+
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-core:2.18.6"
145+
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-databind:2.18.6"
146+
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.18.6"
147+
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.18.6"
148+
resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.18.6"
148149
resolutionStrategy.force 'com.google.protobuf:protobuf-java:3.25.5'
149150
resolutionStrategy.force 'org.locationtech.jts:jts-core:1.19.0'
150151
resolutionStrategy.force 'com.google.errorprone:error_prone_annotations:2.28.0'

core/src/main/java/org/opensearch/sql/planner/physical/CursorCloseOperator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public void close() {
6464
}
6565

6666
private void forceCloseChildren(PhysicalPlan node) {
67-
if (node instanceof TableScanOperator scan) {
68-
scan.forceClose();
67+
if (node instanceof TableScanOperator) {
68+
((TableScanOperator) node).forceClose();
6969
} else {
7070
node.getChild().forEach(this::forceCloseChildren);
7171
}

plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ plugins {
3131
id 'jacoco'
3232
id 'opensearch.opensearchplugin'
3333
id 'com.diffplug.spotless' version '6.22.0'
34-
id 'com.gradleup.shadow' version "8.3.6"
34+
id 'com.gradleup.shadow'
3535
}
3636

3737
apply plugin: 'opensearch.pluginzip'

0 commit comments

Comments
 (0)