Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6458

Bad error message for invalid data sources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.0
    • 1.3.1, 1.4.0
    • SQL
    • None

    Description

      Create a table where the datasources is some random class. The error message is not very helpful:

      Caused by: scala.MatchError: org.postgresql.Driver@2e0d0929 (of class org.postgresql.Driver)
      	at org.apache.spark.sql.sources.ResolvedDataSource$.apply(ddl.scala:288)
      

      Attachments

        Activity

          People

            marmbrus Michael Armbrust
            marmbrus Michael Armbrust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: