Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
Description
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 }}