rohityadav1993 opened a new pull request, #18591: URL: https://github.com/apache/pinot/pull/18591
## Summary - Adds `arraySliceLong(long[], int, int)` scalar function to complement the existing `arraySliceInt` and `arraySliceString`, filling a gap in the LONG-typed array function family. - Delegates to `Arrays.copyOfRange` — same implementation pattern as `arraySliceInt`. - Updates the UDF function snapshot (`all-functions.yaml`) to register the new function. ## Changes | File | Change | |---|---| | `ArrayFunctions.java` | New `@ScalarFunction arraySliceLong` | | `ArrayFunctionsTest.java` | Unit test via `InbuiltFunctionEvaluator` | | `ScalarTransformFunctionWrapperTest.java` | Transform-layer test against `LONG_MV_COLUMN` | | `ArrayTest.java` | Integration test through broker→server pipeline, both SSE and MSE | | `all-functions.yaml` | Snapshot entry for `arrayslicelong` | ## Test plan - [x] `ArrayFunctionsTest` — 46/46 pass - [x] `ScalarTransformFunctionWrapperTest` — 91/91 pass (90 existing + 1 new) - [x] `ArrayTest#testArraySliceLong` — integration test covering SSE and MSE query engines - [x] `UdfTest` snapshot updated (`all-functions.yaml`) - [x] Spotless, checkstyle, license checks all pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
