yaooqinn opened a new pull request, #11607: URL: https://github.com/apache/incubator-gluten/pull/11607
## What changes were proposed in this pull request? Add expression mapping for Spark's `randstr` function (Spark 4.0+) to enable offloading to Velox native execution engine. The `randstr(length, seed)` function generates a random string of specified length using characters from 0-9, a-z, A-Z. The Velox implementation was merged in facebookincubator/velox#16014. ### Changes: - Add `RANDSTR` constant to `ExpressionNames.scala` - Add `Sig[RandStr](ExpressionNames.RANDSTR)` to `Spark40Shims` and `Spark41Shims` scalar expression mappings ## How was this patch tested? Existing Gluten UT framework. The Velox side has comprehensive tests in `RandStrTest.cpp`. -- 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]
