jzhan-2026 commented on code in PR #59060:
URL: https://github.com/apache/spark/pull/59060#discussion_r4252571309
##########
python/pyspark/sql/transpile.py:
##########
@@ -238,7 +241,8 @@ class CatalystTranspiler(AbstractTranspiler):
variety = "catalyst"
- def __init__(self) -> None:
+ def __init__(self, null_strict: bool = True) -> None:
+ self._null_strict = null_strict
Review Comment:
Since transpilers don't currently hold a session reference, config-driven
would require threading the session in or using a global, which seems heavier
than a single constructor param. The param also makes unit testing cleaner.
Open to changing it if you feel strongly.
--
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]