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

FLATTEN case in testNestedFlatten yields no rows (test didn't detect)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The case of using FLATTEN on nested lists appearing in TestComplexTypeReader.testNestedFlatten() yields no rows.

      Part of the problem is that in the code generated by FlattenRecordBatch, the methods are empty.

      (That test method doesn't check the results, so, previous to DRILL-2288 work, the problem was not detected.

      However, with DRILL-2288 fixes, the flatten problem causes an IllegalArgumentException (logically, an assertion exception) in RecordBatchLoader, so the test is being disabled (with @Ignore) as part of DRILL-2288.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: