-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Spark] CDC reader accept case insensitive Boolean option values (#3584)
## Description `DeltaOptions` are equipped to accept case-insensitive values of boolean flags, but CDCReader was not, resulting in not-accepting 'True'. Make it case insensitive. A separate bug in Spark Connect was causing "True" to be passed from Python boolean True. That is being fixed by apache/spark#47790 ## How was this patch tested? Tests added. ## Does this PR introduce _any_ user-facing changes? Datasource option to enable CDC should now accept "True" and other mixed-case variants and not only "true". --------- Co-authored-by: Julek Sompolski <Juliusz Sompolski>
- Loading branch information
1 parent
01bf607
commit cfb0292
Showing
3 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters