You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2016/05/10 15:12:12 UTC

[jira] [Updated] (DRILL-4664) ScanBatch.isNewSchema() returns wrong result for map datatype

     [ https://issues.apache.org/jira/browse/DRILL-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitalii Diravka updated DRILL-4664:
-----------------------------------
    Description: 
isNewSchema() method checks if top-level schema or any of the deeper map schemas has changed. The last one doesn't work properly.
"deeperSchemaChanged" equals true even when two map strings have the same children fields.

Discovered while trying to fix [DRILL-2385|DRILL-2385].

Dataset for reproducing (MAP<REQUIRED> datatype object):
{"oooi":{"oa":{"oab":{"oabc":1}}}}

  was:
isNewSchema() method checks if top-level schema or any of the deeper map schemas has changed. The last one doesn't work properly.
"deeperSchemaChanged" equals true even when two map strings have the same children fields.

Discovered while trying to fix [DRILL-2385|DRILL-2385].


> ScanBatch.isNewSchema() returns wrong result for map datatype
> -------------------------------------------------------------
>
>                 Key: DRILL-4664
>                 URL: https://issues.apache.org/jira/browse/DRILL-4664
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.6.0
>            Reporter: Vitalii Diravka
>            Priority: Minor
>
> isNewSchema() method checks if top-level schema or any of the deeper map schemas has changed. The last one doesn't work properly.
> "deeperSchemaChanged" equals true even when two map strings have the same children fields.
> Discovered while trying to fix [DRILL-2385|DRILL-2385].
> Dataset for reproducing (MAP<REQUIRED> datatype object):
> {"oooi":{"oa":{"oab":{"oabc":1}}}}



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