[ https://issues.apache.org/jira/browse/SPARK-35015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yikun Jiang updated SPARK-35015: -------------------------------- Description: python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_to_java_column' python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_to_seq' python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_create_column_from_literal' python/pyspark/pandas/frame.py:6486: error: Module 'pyspark.sql.types' has no attribute '_parse_datatype_string' The error was found when enable the mypy work on pandas intergrations. was: python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_to_java_column' python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_to_seq' python/pyspark/pandas/spark/functions.py:22: error: Module 'pyspark.sql.column' has no attribute '_create_column_from_literal' python/pyspark/pandas/frame.py:6486: error: Module 'pyspark.sql.types' has no attribute '_parse_datatype_string' These error is foundey when enable the mypy work on pandas intergrations. > Add type hints of pyspark.sql.column.* and pyspark.sql.types.* > -------------------------------------------------------------- > > Key: SPARK-35015 > URL: https://issues.apache.org/jira/browse/SPARK-35015 > Project: Spark > Issue Type: Sub-task > Components: PySpark > Affects Versions: 3.1.2 > Reporter: Yikun Jiang > Priority: Major > > python/pyspark/pandas/spark/functions.py:22: error: Module > 'pyspark.sql.column' has no attribute '_to_java_column' > python/pyspark/pandas/spark/functions.py:22: error: Module > 'pyspark.sql.column' has no attribute '_to_seq' > python/pyspark/pandas/spark/functions.py:22: error: Module > 'pyspark.sql.column' has no attribute '_create_column_from_literal' > python/pyspark/pandas/frame.py:6486: error: Module 'pyspark.sql.types' has no > attribute '_parse_datatype_string' > > The error was found when enable the mypy work on pandas intergrations. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org