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

AssertionError in RelToSqlConverter when visiting empty Values node

    XMLWordPrintableJSON

    Details

      Description

      Given the query:

      select A."department_id"  from "foodmart"."employee" A  where A."department_id" = ( select min( A."department_id") from "foodmart"."department" B where 1=2 )

      The conversion from SqlNode to RelNode is correct, however when going from RelNode to SqlNode, an exception was being thrown.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danny0405 Danny Chen
                Reporter:
                MusbahELFIL Musbah EL FIL
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m