drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1770) Flatten on top a subquery which applies flatten over kvgen results in a ClassCastException
Date Fri, 21 Nov 2014 03:14:33 GMT
Rahul Challapalli created DRILL-1770:
----------------------------------------

             Summary: 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: Functions - Drill, Storage - JSON
            Reporter: Rahul Challapalli


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