drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1534) Implement UDF to expand Map vector into a RepeatedMap containing Key, Value pairs
Date Tue, 14 Oct 2014 08:56:34 GMT
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)

Mime
View raw message