Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5988

SqlImplementor.toSql cannot emit VARBINARY literals

    XMLWordPrintableJSON

Details

    Description

      Given a literal with type VARBINARY the function SqlImplementor.toSql() will crash with assertion failure error:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              mbudiu Mihai Budiu
              mbudiu Mihai Budiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: