Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Drill currently throws an error for CASE statements. This issue is to track adding support for such statements.

      select case when N_NATIONKEY = 0 then 1 end from dfs.`/tmp/parquet/nation.parquet` ;
      Exception in thread "WorkManager-2" java.lang.AssertionError: todo: implement syntax SPECIAL(CASE(=(CAST($0):INTEGER NOT NULL, 0), 1, null))
      at org.apache.drill.exec.planner.logical.DrillOptiq$RexToDrill.visitCall(DrillOptiq.java:113)
      at org.apache.drill.exec.planner.logical.DrillOptiq$RexToDrill.visitCall(DrillOptiq.java:63)

        Activity

          People

          • Assignee:
            Venki Korukanti
            Reporter:
            Aman Sinha
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development