wuyi created SPARK-30151: ---------------------------- Summary: Issue better error message when user-specified schema not match relation schema Key: SPARK-30151 URL: https://issues.apache.org/jira/browse/SPARK-30151 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.0.0 Reporter: wuyi
In DataSource.resolveRelation(), when relation schema does not match user-specified schema, it raises exception and says that "$className does not allow user-specified schemas." However, it does allow user-specified schema if it matches relation schema. Instead, we should issue a better error message to tell user what is really happening here, e.g. clarify the mismatched fields to user. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org