[
https://issues.apache.org/jira/browse/IGNITE-20862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786039#comment-17786039
]
Sunil Chittumalla edited comment on IGNITE-20862 at 11/14/23 7:31 PM:
----------------------------------------------------------------------
Due to security vulnerabilities in H2, found that another query engine Calcite
Engine which replaces H2. I tried by enabling Calcite Engine using below
configuration
icfg.setSqlConfiguration(new SqlConfiguration().setQueryEnginesConfiguration(
new CalciteQueryEngineConfiguration()
));
After trying with querying getting below error
ISSUE 1: java.lang.reflect.InaccessibleObjectException: Unable to make field
private int java.sql.Timestamp.nanos accessible: module java.sql does not
"opens java.sql" to unnamed module @12e61fe6
Even I tried adding VM options --add-opens=java.base/java.time=ALL-UNNAMED
Still getting error and subsequently seeing issue
ISSUE 2: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.internal.processors.query.calcite.exec.rel.HashAggregateNode
was (Author: JIRAUSER303082):
Due to security vulnerabilities in H2, found that another query engine Calcite
Engine which replaces H2. I tried by enabling Calcite Engine using below
configuration
icfg.setSqlConfiguration(new SqlConfiguration().setQueryEnginesConfiguration(
new CalciteQueryEngineConfiguration()
));
After trying with querying getting below error
java.lang.reflect.InaccessibleObjectException: Unable to make field private int
java.sql.Timestamp.nanos accessible: module java.sql does not "opens java.sql"
to unnamed module @12e61fe6
Even I tried adding VM options --add-opens=java.base/java.time=ALL-UNNAMED
Still getting error and subsequently seeing issue
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.internal.processors.query.calcite.exec.rel.HashAggregateNode
> Calcite engine 2.15.0 with JDK 17- Issue when loading cache and when querying
> cache
> -----------------------------------------------------------------------------------
>
> Key: IGNITE-20862
> URL: https://issues.apache.org/jira/browse/IGNITE-20862
> Project: Ignite
> Issue Type: Improvement
> Reporter: Sunil Chittumalla
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite
> Fix For: 2.15
>
>
> Apache Calcite 1.32.0 was released, we should upgrade dependency.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)