Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4906

CASE Expression with constant generates class exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.8.0
    • 1.9.0
    • SQL Parser
    • None

    Description

      How to reproduce:

      select (case when (true) then 1 end) from (values(1));

      Error
      Error: SYSTEM ERROR: ClassCastException: org.apache.drill.exec.expr.holders.NullableVarCharHolder cannot be cast to org.apache.drill.exec.expr.holders.VarCharHolder

      Attachments

        Issue Links

          Activity

            People

              sharnyk Serhii Harnyk
              sharnyk Serhii Harnyk
              Khurram Faraaz Khurram Faraaz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: