We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76ec579 commit a70fd73Copy full SHA for a70fd73
1 file changed
core/src/main/java/org/opensearch/sql/calcite/utils/CalciteToolsHelper.java
@@ -301,8 +301,8 @@ protected PreparedResult implement(RelRoot root) {
301
Hook.PLAN_BEFORE_IMPLEMENTATION.run(root);
302
RelDataType resultType = root.rel.getRowType();
303
boolean isDml = root.kind.belongsTo(SqlKind.DML);
304
- if (root.rel instanceof Scannable scannable) {
305
- final Bindable bindable = dataContext -> scannable.scan();
+ if (root.rel instanceof Scannable) {
+ final Bindable bindable = dataContext -> ((Scannable) root.rel).scan();
306
307
return new PreparedResultImpl(
308
resultType,
0 commit comments