drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheesh Katkam <skat...@maprtech.com>
Subject Re: drill rest api converts all data types to string
Date Fri, 16 Sep 2016 15:56:47 GMT
Hi Niek,

That is a bug; thank you for digging out the exact location. Please open a ticket <https://issues.apache.org/jira/browse/DRILL>.
Let’s start tracking the details of the fix in that ticket.

Thank you,
Sudheesh

> On Sep 15, 2016, at 2:49 AM, Niek Bartholomeus <niek@pulsar-it.be> wrote:
> 
> Hi,
> 
> I'm using the drill rest api to query my parquet files that were generated by spark.
> 
> I noticed that numeric and boolean data types are all converted to string in the results.
Nested data however is returned with the original data types intact.
> 
> Probably this is happening here: https://github.com/apache/drill/blob/2d9f9abb4c47d08f8462599c8d6076a61a1708fe/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryWrapper.java#L158
> 
> Is there any way how to fix this?
> 
> I'm using the latest version of drill.
> 
> Thanks in advance,
> 
> Niek.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message