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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 1.2.0
    • Client - C++
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: