You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2023/09/08 23:44:00 UTC
[jira] [Created] (CALCITE-5988) SqlImplementor.toSql cannot emit VARBINARY literals
Mihai Budiu created CALCITE-5988:
------------------------------------
Summary: SqlImplementor.toSql cannot emit VARBINARY literals
Key: CALCITE-5988
URL: https://issues.apache.org/jira/browse/CALCITE-5988
Project: Calcite
Issue Type: Bug
Components: core
Affects Versions: 1.35.0
Reporter: Mihai Budiu
Given a literal with type VARBINARY the function SqlImplementor.toSql() will crash with assertion failure error:
{code}
X'41424344':VARBINARY: BINARY
java.lang.AssertionError: X'41424344':VARBINARY: BINARY
at org.apache.calcite.rel.rel2sql.SqlImplementor.toSql(SqlImplementor.java:1461)
at org.apache.calcite.rel.rel2sql.SqlImplementor.toSql(SqlImplementor.java:1384)
at org.apache.calcite.rel.rel2sql.SqlImplementor$Context.toSql(SqlImplementor.java:696)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)