drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1641) kvgen functions fails when the input is an index within a repeated map vector
Date Wed, 12 Nov 2014 19:53:34 GMT

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

Rahul Challapalli commented on DRILL-1641:
------------------------------------------

I am still hitting the same issue on the latest master

git.commit.id.abbrev=1e21045

> kvgen functions fails when the input is an index within a repeated map vector
> -----------------------------------------------------------------------------
>
>                 Key: DRILL-1641
>                 URL: https://issues.apache.org/jira/browse/DRILL-1641
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators, Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: Rahul Challapalli
>         Attachments: error.log, explain_plan.txt
>
>
> git.commit.id.abbrev=6dca24a
> kvgen function does not work for the below dataset which has an array of maps
> {code}
> {
>    "col1" : [
>         {"m1":"val1", "m2":"val2"},
>         {"m3":"val3", "m4":"val4"}
>     ]
> }
> {code}
> Query :
> {code}
> 0: jdbc:drill:schema=dfs> select kvgen(col1[0]) from `json_kvgenflatten/temp.json`;
> Query failed: Failure while running fragment. kvgen function only supports Simple maps
as input [c9bf5998-2198-4b12-a3b8-2a5a7b1e938f]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> {code}
> I attached the explain plan and the logs for the failing query. Let me know if you need
anything else.



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

Mime
View raw message