drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Spataro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4821) Column type into POST /query.json response
Date Fri, 30 Sep 2016 20:44:20 GMT

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

Fabrizio Spataro commented on DRILL-4821:
-----------------------------------------

+1

> Column type into POST /query.json response
> ------------------------------------------
>
>                 Key: DRILL-4821
>                 URL: https://issues.apache.org/jira/browse/DRILL-4821
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Fabrizio Spataro
>            Priority: Minor
>
> Hello everyone,
> I am using POST /query.json restlet api, according to documentation the service return
a json with column name and data.
> {code}
>  {
>    "columns" : [ "id", "type", "name", "ppu", "sales", "batters", "topping", "filling"
],
>    "rows" : [ {
>        ...............
>      }]
> }
> {code}
> It would be very helpful to have the type of each column (String/Numeric/....) for example:
> {code}
>  {
>    "columns" : {
>             "id": "string", 
>             "type": "numeric", 
>             "name": "string".... 
>     },
>    "rows" : [ {
>        ...............
>      }]
> }
> {code}



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

Mime
View raw message