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

   ## Which issue does this PR close?
   
   Closes #7525.
   
   ## Rationale for this change
   
   #7450 adds support for running lpad and rpad natively when using a literal 
str, but currenlty, in the code, we are using codegen when we encounter this 
scenario. This PR, removes these checks as we can reliably use the native 
kernel for this scenario.
   
   ## What changes are included in this PR?
   
   - Remove guards and reason for literal str in `CometStringRPad` and 
`CometStringLPad`.
   - Update `string_lpad.sql`, `string_rpad.sql`, `string_lpad_fallback.sql`, 
and `string_rpad_fallback.sql` fixtures to expect native in related scenario.
   
   ## How are these changes tested?
   
   - Updating existing `string_lpad.sql`, `string_rpad.sql`, 
`string_lpad_fallback.sql`, and `string_rpad_fallback.sql` fixures to expect 
native.
   


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