Github user zenglinxi0615 commented on the issue:

    https://github.com/apache/spark/pull/14686
  
    sorry for long time no response. 
    yes, you are right, when you can change the sql from using '/temp/test.py' 
to using 'python /temp/test.py', there's no need for changing the spark source 
code.
    However, this patch is work for the case when there are already many hive 
sql which using '/temp/test.py', it cost too much time for modifing these hive 
sql, so we want to spark sql compatible with hive sql that using python script 
transform like using 'xxx.py'.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to