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

Missing commandline argument ends up with a misleading error message

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Command-line Interface
    • Labels:
      None

      Description

      I specified --delimiter but forgot the delimiter itself:
      kite-dataset -v csv-schema concat_hit_data.tsv --class hit_data --delimiter -o hit_data.avsc

      I got the following error:
      Argument error
      java.lang.IllegalArgumentException: Only one CSV sample can be given

      Given that I did specify only one CSV, this was not useful. Something like:
      "missing mandatory argument to --delimiter, run 'kite-dataset -v csv-schema -h' for full usage details" will be better.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gshapira Gwen Shapira
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: