Allison Wang created SPARK-43028: ------------------------------------ Summary: Add error class SQL_CONF_NOT_FOUND Key: SPARK-43028 URL: https://issues.apache.org/jira/browse/SPARK-43028 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.5.0 Reporter: Allison Wang
Use the error class when getting a non-existing SQL config. Currently the error message is not user-friendly: {code:java} 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) ...{code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org