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] [Updated] (DRILL-4821) Column type into POST /query.json response
Date Tue, 02 Aug 2016 08:25:20 GMT

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

Mime
View raw message