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

Project's setupNewSchema() does not create the correct schema for complex vectors with children

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Execution - Data Types
    • None

    Description

      While creating the schema for the outgoing batch in project (setupNewSchema()) we don't create the child vectors for the complex vectors. We create the children only while performing the transfer in doWork(). This is ok for most cases, but if we have a blocking operator before project and our first batch is a schema batch with no records then the transfer would not create the child vectors and we would propagate half baked schema downstream.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mehant Mehant Baid
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: