You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/10/14 10:56:34 UTC

[jira] [Created] (DRILL-1534) Implement UDF to expand Map vector into a RepeatedMap containing Key, Value pairs

Mehant Baid created DRILL-1534:
----------------------------------

             Summary: 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


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)