We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13d88b commit 1d7d48eCopy full SHA for 1d7d48e
1 file changed
core/src/main/java/org/opensearch/sql/calcite/utils/CalciteToolsHelper.java
@@ -422,8 +422,7 @@ public RelNode visit(TableScan scan) {
422
}
423
};
424
rel = rel.accept(shuttle);
425
- // Context classloader is set by callers (QueryService.executeWithCalcite/explainWithCalcite)
426
- // to support patched Calcite (CALCITE-3745) Janino compilation.
+ // the line we changed here
427
try (Connection connection = context.connection) {
428
final RelRunner runner = connection.unwrap(RelRunner.class);
429
PreparedStatement preparedStatement = runner.prepareStatement(rel);
0 commit comments