Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2937

Result for integer values from json files contains "$numberLong" in front of value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Client - C++
    • Labels:
      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 }

      }

        Attachments

          Activity

            People

            • Assignee:
              parthc Parth Chandra
              Reporter:
              knguyen Krystal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: