You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2024/01/25 11:15:00 UTC
[jira] [Created] (IGNITE-21349) Calcite engine. Failure on DDL when INCLUDE_SENSITIVE is false and DDL statement contains literals
Aleksey Plekhanov created IGNITE-21349:
------------------------------------------
Summary: Calcite engine. Failure on DDL when INCLUDE_SENSITIVE is false and DDL statement contains literals
Key: IGNITE-21349
URL: https://issues.apache.org/jira/browse/IGNITE-21349
Project: Ignite
Issue Type: Bug
Reporter: Aleksey Plekhanov
Assignee: Aleksey Plekhanov
Queries like:
{noformat}
CREATE INDEX ON test(val) INLINE_SIZE 10{noformat}
Can't be executed when property IGNITE_TO_STRING_INCLUDE_SENSITIVE=false.
Error stack:
{noformat}
java.lang.UnsupportedOperationException: class org.apache.calcite.sql.SqlSyntax$7: SPECIAL at org.apache.calcite.util.Util.needToImplement(Util.java:1111)
at org.apache.calcite.sql.SqlSyntax$7.unparse(SqlSyntax.java:129)
at org.apache.calcite.sql.SqlOperator.unparse(SqlOperator.java:385)
at org.apache.calcite.sql.SqlDialect.unparseCall(SqlDialect.java:466)
at org.apache.calcite.sql.SqlCall.unparse(SqlCall.java:126)
at org.apache.calcite.sql.SqlNode.toSqlString(SqlNode.java:156)
at org.apache.calcite.sql.SqlNode.toString(SqlNode.java:131)
at org.apache.ignite.internal.processors.query.calcite.CalciteQueryProcessor.removeSensitive(CalciteQueryProcessor.java:555)
at org.apache.ignite.internal.processors.query.calcite.CalciteQueryProcessor.parseAndProcessQuery(CalciteQueryProcessor.java:520)
{noformat}
SqlCall is created when cloning custom DDL commands and calcite can't unparse it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)