Commit 107bc20
[SPARK-54361][SQL] Fix Spark version to intended value of 4.2.0 for spark.sql.parser.singleCharacterPipeOperator.enabled
### What changes were proposed in this pull request?
In apache#52983 we added the following new config, but mistakenly wrote its Spark version as 4.1.0. This PR fixes it to the intended value of 4.2.0 instead:
```
val SINGLE_CHARACTER_PIPE_OPERATOR_ENABLED =
buildConf("spark.sql.parser.singleCharacterPipeOperator.enabled")
.doc("When true, the single character pipe token '|' can be used as an alternative to '|>' " +
"for SQL pipe operators. When false, only '|>' is recognized as a pipe operator, and '|' " +
"is only used for bitwise OR operations. This provides syntax compatibility with other " +
"languages like Splunk SPL and Kusto that use '|' for pipe operations.")
.version("4.1.0")
.booleanConf
.createWithDefault(true)
```
### Why are the changes needed?
We can correctly identify Spark versions for configs.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
N/A
### Was this patch authored or co-authored using generative AI tooling?
No
Closes apache#53072 from dtenedor/fix-spark-version.
Authored-by: Daniel Tenedorio <daniel.tenedorio@databricks.com>
Signed-off-by: Daniel Tenedorio <daniel.tenedorio@databricks.com>1 parent 0c39467 commit 107bc20
File tree
1 file changed
+1
-1
lines changed- sql/catalyst/src/main/scala/org/apache/spark/sql/internal
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3855 | 3855 | | |
3856 | 3856 | | |
3857 | 3857 | | |
3858 | | - | |
| 3858 | + | |
3859 | 3859 | | |
3860 | 3860 | | |
3861 | 3861 | | |
| |||
0 commit comments