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

csv-schema: Illegal character in header caught by Avro with unhelpful message before it reaches Kite

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14.1
    • Fix Version/s: 0.16.0
    • Component/s: Command-line Interface
    • Labels:
    • Environment:
      5.0.0.1 VM without CM.

      Description

      dataset csv-schema movies.csv --class Movies -o movie.avsc
      Unknown error: Illegal character in: Release Date

      The illegal character is in the header itself (the space between "Release" and "Date"), but this message made me think that it was an illegal value in the column.

      Ryan says that there is a helpful message in Kite when a title includes a hyphen, but this error is thrown in Avro before it reaches Kite.

      Catching header problems and saying something like "Illegal character in header" will prevent head-scratching for people like me, many of whom, like me, cannot afford to scratch their heads for fear of further decimation of a follicular nature.

        Attachments

          Activity

            People

            • Assignee:
              saurav Saurabh jain
              Reporter:
              ddawson Dennis Dawson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: