[
https://issues.apache.org/jira/browse/IGNITE-21349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811146#comment-17811146
]
Ignite TC Bot commented on IGNITE-21349:
----------------------------------------
{panel:title=Branch: [pull/11196/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11196/head] Base: [master] : No new tests
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7719867&buildTypeId=IgniteTests24Java8_RunAll]
> 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
> Priority: Major
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)