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

[jira] [Commented] (DRILL-1770) Flatten on top a subquery which applies flatten over kvgen results in a ClassCastException

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

Chris Westin commented on DRILL-1770:
-------------------------------------

[~jaltekruse]: Does the attached patch mean that this is fixed and waiting for review? Not sure because this isn't in state REVIEWABLE.

> 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: 1.0.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)