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

   ### What changes were proposed in this pull request?
   
   Fix `split_part` codegen compilation issue:
   ```sql
   SELECT split_part(str, delimiter, partNum) FROM VALUES ('11.12.13', '.', 3) 
AS v1(str, delimiter, partNum);
   ```
   ```
   org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 
42, Column 1: failed to compile: 
org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 42, 
Column 1: Expression "project_isNull_0 = false" is not a type
   ```
   
   ### Why are the changes needed?
   
   Fix bug.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Unit test.


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to