dongjoon-hyun opened a new pull request, #38976:
URL: https://github.com/apache/spark/pull/38976

   ### What changes were proposed in this pull request?
   
   This is a follow-up to move `Column` import statement in order to a test 
issue 
   
   ### Why are the changes needed?
   
   `Column` requires `pandas` dependency.
   ```
   $ python/run-tests.py --modules pyspark-connect
   ...
     File 
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/tests/connect/test_connect_basic.py",
 line 24, in <module>
       from pyspark.sql.connect.column import Column
     File 
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/connect/__init__.py", 
line 22, in <module>
       from pyspark.sql.connect.dataframe import DataFrame  # noqa: F401
     File 
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/connect/dataframe.py", 
line 33, in <module>
       import pandas
   ModuleNotFoundError: No module named 'pandas'
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a test-only fix.
   
   ### How was this patch tested?
   
   Manually tests on a system without `pandas`.
   ```
   $ python/run-tests.py --modules pyspark-connect
   ```


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