You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Fabrizio Spataro (JIRA)" <ji...@apache.org> on 2016/09/30 20:44:20 UTC

[jira] [Commented] (DRILL-4821) Column type into POST /query.json response

    [ 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)