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

[Rust][DataFusion] Slightly confusing error message when unsupported type is provided to CREATE EXTERNAL TABLE

    XMLWordPrintableJSON

Details

    Description

      When I make a typo in the CREATE EXTERNAL TABLE command, I get an error message that doesn't doesn't tell me the valid values of STORED AS:

      As a user, I would like the software to guide me to the correct resolution and tell me what the supported formats are.

      For example:

      CREATE EXTERNAL TABLE repro
      STORED AS ARROW
      LOCATION 'repro.arrow';
      

      results in:

      > CREATE EXTERNAL TABLE repro
      STORED AS ARROW
      LOCATION 'repro.arrow';
      
      ParserError(ParserError("Expected fileformat, found: ARROW"))
      

      Ideally the error should say that the valid choices are PARQUET, CSV, or DSJSON

      Attachments

        Issue Links

          Activity

            People

              alamb Andrew Lamb
              alamb Andrew Lamb
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h