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

RelRoot.project does not take into account flattened record type

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.21.0
    • core
    • None

    Description

      To reproduce, simply run:

      @Test public void testFlattenRecords()

      { sql("select employees[1] from dept_nested").ok(); }

      It will yield:

      LogicalProject(EXPR$0=[$0])
      LogicalProject(EXPR$0$0=[ITEM($2, 1).EMPNO], EXPR$0$1=[ITEM($2, 1).ENAME], EXPR$0$2=[ITEM($2, 1).DETAIL])
      LogicalTableScan(table=[[CATALOG, SALES, DEPT_NESTED]])

      Attachments

        Issue Links

          Activity

            People

              ihuzenko Igor Guzenko
              suez1224 Shuyi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: