Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-922

CSV and JSON file readers cannot use InputStream constructor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 1.0.0
    • Component/s: Data Module
    • Labels:
      None

      Description

      The InputStream constructor can't be used because the initialize method requires a FileSystem and Path. This should only be validated (and opened) when the InputStream is null. I think this was an accident when fixing the divide-by-zero bug.

      See https://github.com/kite-sdk/kite/blob/master/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/CSVFileReader.java#L109

        Attachments

          Activity

            People

            • Assignee:
              blue Ryan Blue
              Reporter:
              blue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: