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

querying a .json file that contains a repeated type returns the wrong results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • Execution - Data Types
    • None

    Description

      I have the following .json file:

      {"bag":[]}
      {"bag":[1]}
      

      doing a select star on it returns the following results:

      0: jdbc:drill:zk=local> select * from dfs.data.`t.json`;
      +------------+
      |    bag     |
      +------------+
      | []         |
      | null       |
      +------------+
      

      Attachments

        Issue Links

          Activity

            People

              hgunes Hanifi Gunes
              adeneche Abdel Hakim Deneche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: