drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1534) Implement UDF to expand Map vector into a RepeatedMap containing Key, Value pairs
Date Wed, 15 Oct 2014 07:24:33 GMT

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

Mehant Baid updated DRILL-1534:
-------------------------------
    Attachment:     (was: DRILL-1534.patch)

> Implement UDF to expand Map vector into a  RepeatedMap containing Key, Value pairs
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-1534
>                 URL: https://issues.apache.org/jira/browse/DRILL-1534
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Mehant Baid
>            Assignee: Mehant Baid
>         Attachments: DRILL-1534.patch
>
>
> Consider the following JSON:
> {
>   "x": {
>     "y": "kevin",
>     "z": "paul"
>   }
> }
> Now this UDF would transform the map 'x' in the following manner
> [{"key":"y","value":"kevin"},{"key":"z","value":"paul"}]



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

Mime
View raw message