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

Jacques Nadeau resolved DRILL-2937.
-----------------------------------
    Resolution: Invalid

If you return complex data, we now use Extended Json encoding for complex 
values.  If these fields are not complex values, or disabling extended json 
mode does not change the behavior, reopen the bug.

> Result for integer values from json files contains "$numberLong" in front of 
> value
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-2937
>                 URL: https://issues.apache.org/jira/browse/DRILL-2937
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Krystal
>            Assignee: Parth Chandra
>
> Result of query from json files contains "$numberLong" appends to the front 
> of integer values. Below is a sample result for such query:
> select t.c.`value` from (select flatten(x.fields.map) c from 
> `dfs.drillTestDir`.`ta_netstat.snappy.parquet` x) t;
> {
> "member1" :
> { "$numberLong" : 0 }
> }
> {
> "member1" :
> { "$numberLong" : 0 }
> }
> { "member0" : "Searching" }
> {
> "member1" :
> { "$numberLong" : 0 }
> }
> { "member0" : "Home network registered" }
> {
> "member1" :
> { "$numberLong" : 0 }
> }
> { "member3" : 0.0 }
> {
> "member1" :
> { "$numberLong" : 2 }
> }
> { "member0" : "17" }
> {
> "member1" :
> { "$numberLong" : 5 }
> }
> {
> "member1" :
> { "$numberLong" : 0 }
> }
> {
> "member1" :
> { "$numberLong" : 1398440292 }
> } 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to