Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/22919
  
    Note that `python` shell also takes file but `pyspark` shell doesn't:
    
    ```
    $ cat tmp.py
    print "a"
    ```
    
    ```
    $ python2 tmp.py
    a
    ```
    
    ```
    $ ./bin/pyspark tmp.py
    Running python applications through 'pyspark' is not supported as of Spark 
2.0.
    Use ./bin/spark-submit <python file>
    
    ```


---

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

Reply via email to