Shekharrajak opened a new pull request, #7760:
URL: https://github.com/apache/datafusion-comet/pull/7760

   ## Which issue does this PR close?
   
   Closes #7583.
   
   ## Rationale for this change
   
   Spark returns NULL from `lpad` and `rpad` when the input string is NULL, 
skipping the length expression. 
   
   ## What changes are included in this PR?
   
   Use the existing `withNullShortCircuit` helper in both native padding 
serializers.
   
   ## How are these changes tested?
   
   After the fix, all 15 selected string SQL fixtures passed on Spark 4.1.3, 
including the existing padding and fallback tests.
   


-- 
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