JinHelin404 opened a new pull request, #40957: URL: https://github.com/apache/spark/pull/40957
### What changes were proposed in this pull request? Delete the error class _LEGACY_ERROR_TEMP_2010 as it cannot be accessed. ### Why are the changes needed? Fix jira issue [SPARK-43257](https://issues.apache.org/jira/browse/SPARK-43257). `ResolveNaturalAndUsingJoin` only handles `UsingJoin` and `NaturalJoin`, and all join types supported by `UsingJoin` and `NaturalJoin` are supported by natural join, so `commonNaturalJoinProcessing` will never go to the default branch and throw `unsupportedNaturalJoinTypeError`. I think this error class could be removed. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Remove useless code, no testing needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
