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

Fabrizio Spataro updated DRILL-4821:
------------------------------------
    Description: 
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}


  was:
Hello everyone,
I am using POST /query.json restlet api, according to documentation the service 
return a json with column name and data.

It would be very helpful to have the type of each column (String/Numeric/....)


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

Reply via email to