d841b33ba3
### What changes were proposed in this pull request? Check schema fields to see if they contain the exact column name, add to error message in DataSet#resolve Add test for extra error message piece Adds an additional check in `DataSet#resolve`, in the else clause (i.e. column not resolved), that appends a suffix to the error message for the `AnalysisException` if that column name is literally found in the schema fields, to suggest to the user that it might need to be quoted via backticks. ### Why are the changes needed? Forgetting to quote such column names is a common occurrence for new Spark users. ### Does this PR introduce any user-facing change? No (other than the extra suffix on the error message). ### How was this patch tested? `test` was run for `core` in `sbt`, and passed. Closes #25807 from jeff303/SPARK-25153. Authored-by: Jeff Evans <jeffrey.wayne.evans@gmail.com> Signed-off-by: Holden Karau <hkarau@apple.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
v1.2.1/src | ||
v2.3.5/src | ||
pom.xml |