Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1497

[Java] JsonFileReader doesn't set value count for some vectors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.1
    • Component/s: Java

      Description

      Currently, in complex types, JsonFileReader only sets value count for NullableMapType by an instance check, this is error prone and cause issues with reading other complex types:

      https://github.com/apache/arrow/blob/master/java/vector/src/main/java/org/apache/arrow/vector/file/json/JsonFileReader.java#L269

      We should have a better way to do this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                icexelloss Li Jin
                Reporter:
                icexelloss Li Jin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: