juliuszsompolski opened a new pull request, #47790:
URL: https://github.com/apache/spark/pull/47790

   ### What changes were proposed in this pull request?
   
   Using `spark.read.option("Foo", True)` resulted in an uppercase `'True'` 
string in Python Spark Connect client, while in all other cases (scala with 
both Spark Connect and no Spark Connect, pyspark with no Spark Connect) it 
would be normalized to `'true'`. This is because `to_str` helper should be used 
instead of `str`.
   
   ### Why are the changes needed?
   
   This is now inconsistent with other cases. Passing `"True"` as boolean 
options seems to be breaking Delta CDF reader (to be fixed separately, that it 
should be able to handle the literal case-insensitively)
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   TODO
   
   ### 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]

Reply via email to