You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2023/05/06 08:02:00 UTC
[jira] [Updated] (IGNITE-19436) Add "--add-opens=java.base/java.time=ALL-UNNAMED" to jvm args
[ https://issues.apache.org/jira/browse/IGNITE-19436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YuJue Li updated IGNITE-19436:
------------------------------
Description:
1.start a node with calcite-based sql engine is enabled;
2.execute the following SQL:
select /*+ QUERY_ENGINE('calcite') {*}/ count({*}*) from T;
then:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.time.LocalDate.year accessible: module java.base does not "opens java.time" to unnamed module @587d1d39
was:
1.start a node with calcite-based sql engine is enabled;
2.execute the following SQL:
select /*+ QUERY_ENGINE('calcite') */ count(*) from T;
then:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.time.LocalDate.year accessible: module java.base does not "opens java.time" to unnamed module @587d1d39
> Add "--add-opens=java.base/java.time=ALL-UNNAMED" to jvm args
> -------------------------------------------------------------
>
> Key: IGNITE-19436
> URL: https://issues.apache.org/jira/browse/IGNITE-19436
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Affects Versions: 2.15
> Reporter: YuJue Li
> Assignee: YuJue Li
> Priority: Minor
> Fix For: 2.16
>
>
> 1.start a node with calcite-based sql engine is enabled;
> 2.execute the following SQL:
> select /*+ QUERY_ENGINE('calcite') {*}/ count({*}*) from T;
> then:
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.time.LocalDate.year accessible: module java.base does not "opens java.time" to unnamed module @587d1d39
--
This message was sent by Atlassian Jira
(v8.20.10#820010)