drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niek Bartholomeus <n...@pulsar-it.be>
Subject drill rest api converts all data types to string
Date Thu, 15 Sep 2016 09:49:17 GMT

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,

View raw message