You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2015/05/07 23:12:00 UTC

[jira] [Commented] (DRILL-2538) Project's setupNewSchema() does not create the correct schema for complex vectors with children

    [ https://issues.apache.org/jira/browse/DRILL-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533387#comment-14533387 ] 

Hanifi Gunes commented on DRILL-2538:
-------------------------------------

DRILL-2150 partially addresses this problem for multiple projections from the same incoming vector. As described the problem, however, is broader.

> Project's setupNewSchema() does not create the correct schema for complex vectors with children
> -----------------------------------------------------------------------------------------------
>
>                 Key: DRILL-2538
>                 URL: https://issues.apache.org/jira/browse/DRILL-2538
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>            Reporter: Mehant Baid
>            Assignee: Mehant Baid
>             Fix For: 1.1.0
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)