zhengruifeng opened a new pull request, #58628:
URL: https://github.com/apache/spark/pull/58628

   ### What changes were proposed in this pull request?
   
   This follow-up to #58194:
   
   - renames `VectorGenerators.scala` to `VectorPosExplode.scala`;
   - registers the internal expression as `ml_vector_posexplode`;
   - defines `ml_vector_posexplode` as the expression's `prettyName`; and
   - updates the Spark ML helper and its test to use and verify the new 
internal name.
   
   ### Why are the changes needed?
   
   The ML-specific internal expression should use the `ml_` namespace 
consistently, and its source
   filename should match the expression it contains.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. The renamed function is internal and the original change has not been 
released.
   
   ### How was this patch tested?
   
   - `JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 build/sbt 'mllib/testOnly 
*FunctionsSuite -- -z "vector_posexplode"'`
   - `JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 ./dev/scalastyle`
   
   The existing `FunctionsSuite` test now also verifies the resolved 
generator's `prettyName`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-5)
   


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