HyukjinKwon opened a new pull request #29217:
URL: https://github.com/apache/spark/pull/29217


   ### What changes were proposed in this pull request?
   
   This PR uses `python3` instead of `python3.6` executable as a fallback in 
`IntegratedUDFTestUtils`.
   
   ### Why are the changes needed?
   
   Currently, GitHub Actions skips pandas UDFs. Python 3.8 is installed 
explicitly but somehow `python3.6` looks available in GitHub Actions build 
environment by default.
   
   ```
   [info] - udf/postgreSQL/udf-case.sql - Scalar Pandas UDF is skipped because 
pyspark,pandas and/or pyarrow were not available in [python3.6]. !!! IGNORED !!!
   ...
   [info] - udf/postgreSQL/udf-select_having.sql - Scalar Pandas UDF is skipped 
because pyspark,pandas and/or pyarrow were not available in [python3.6]. !!! 
IGNORED !!!
   ...
   ```
   
   It was chosen as `python3.6` for Jenkins to pick one Python explicitly; 
however, looks we're already using `python3` here and there.
   
   It will also reduce the overhead to fix when we deprecate or drop Python 
versions.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, dev-only.
   
   ### How was this patch tested?
   
   It should be tested in Jenkins and GitHub Actions environments here.


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

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