XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • SQL
    • None

    Description

      Use the error class when getting a non-existing SQL config. Currently the error message is not user-friendly:

      spark.conf.get("some.conf") 
      
      java.util.NoSuchElementException: some.conf
       at org.apache.spark.sql.errors.QueryExecutionErrors$.noSuchElementExceptionError(QueryExecutionErrors.scala:2154)
       at org.apache.spark.sql.internal.SQLConf.$anonfun$getConfString$3(SQLConf.scala:4947)
      ...

      Attachments

        Activity

          People

            allisonwang-db Allison Wang
            allisonwang-db Allison Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: