drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1770) Flatten on top a subquery which applies flatten over kvgen results in a ClassCastException
Date Thu, 02 Jul 2015 17:55:04 GMT

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

Jason Altekruse resolved DRILL-1770.
------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.2.0)
                   0.8.0

This was actually merged a while ago, it just wasn't updated here.

Fixed in 09aa34b68c97a20412e9917d2ab6bf182477beb4

> Flatten on top a subquery which applies flatten over kvgen results in a ClassCastException
> ------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1770
>                 URL: https://issues.apache.org/jira/browse/DRILL-1770
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>            Reporter: Rahul Challapalli
>            Assignee: Jason Altekruse
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: DRILL_1770.patch
>
>
> git.commit.id.abbrev=108d29f
> Dataset :
> {code}
> {"map":{"rm": [ {"rptd": [{ "a": "foo"}]}]}}
> {code}
> Query :
> {code}
> select flatten(sub.fk.`value`) from (select flatten(kvgen(map)) fk from `nested.json`)
sub;
> Query failed: Failure while running fragment., org.apache.drill.exec.vector.NullableIntVector
cannot be cast to org.apache.drill.exec.vector.RepeatedVector
> {code}
> Let me know if you need more information.



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

Mime
View raw message