This is different. > Nested data however is returned with the original data types intact.
.. which makes sense, looking at the code. Thank you, Sudheesh > On Sep 16, 2016, at 11:18 AM, Jacques Nadeau <jacq...@dremio.com> wrote: > > FYI, it is already filed: https://issues.apache.org/jira/browse/DRILL-2373 > > -- > Jacques Nadeau > CTO and Co-Founder, Dremio > > On Fri, Sep 16, 2016 at 8:56 AM, Sudheesh Katkam <skat...@maprtech.com> > wrote: > >> 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 <n...@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. >> >>