yew1eb opened a new pull request, #1689:
URL: https://github.com/apache/auron/pull/1689
# Which issue does this PR close?
Closes #1688 .
# Rationale for this change
Current lpad/rpad functions use the DataFusion implementation. Native
execution panics when the len (2nd arg) is INT (Int32), because DataFusion
expects len to be Int64, leading to a cast failure.
# What changes are included in this PR?
- cast len (2nd arg) to LongType in NativeConverters for lpad/rpad.
# Are there any user-facing changes?
# How was this patch tested?
unit 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]