MaxGekk opened a new pull request, #44399:
URL: https://github.com/apache/spark/pull/44399
### What changes were proposed in this pull request?
In the PR, I propose to fix the order of arguments of the removed SQL config
`park.sql.optimizer.runtimeFilter.semiJoinReduction.enabled` and check the
format of Spark version in the constructor of `RemovedConfig`.
### Why are the changes needed?
To don't confuse users and prevent such kind of mistakes.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
By running the existing test suite:
```
$ build/sbt "test:testOnly *SQLConfSuite"
```
without the fix the test suite fails with the internal error:
```
Caused by: org.apache.spark.SparkException: [INTERNAL_ERROR] The removed SQL
config spark.sql.optimizer.runtimeFilter.semiJoinReduction.enabled has the
wrong Spark version: false SQLSTATE: XX000
at
org.apache.spark.SparkException$.internalError(SparkException.scala:92)
at
org.apache.spark.SparkException$.internalError(SparkException.scala:96)
```
### Was this patch authored or co-authored using generative AI tooling?
No.
--
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]