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

Join on CASE causes AssertionError in RelToSqlConverter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.26.0
    • Fix Version/s: 1.27.0
    • Component/s: jdbc-adapter
    • Labels:
      None

      Description

      Basically  CALCITE-4610  but this time with a CASE WHEN. 

      I can provide a repro test if needed, but any join with a condition like in that same test

      CASE WHEN a = 'some_literal' THEN true ELSE c = 'some_other_literal' END

      The CASE travels through the pipeline, and the RelToSqlConverter crashes on it in convertConditionToSqlNode.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              swtalbot Steven Talbot
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: