You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "HyukjinKwon (via GitHub)" <gi...@apache.org> on 2024/03/26 01:57:06 UTC
Re: [PR] [SPARK-47544][PYTHON] SparkSession builder method is incompatible with visual studio code intellisense [spark]
HyukjinKwon commented on PR #45700:
URL: https://github.com/apache/spark/pull/45700#issuecomment-2019247226
Let's fix up the linter though:
```
python/pyspark/sql/session.py:502: error: Incompatible return value type (got "pyspark.sql.connect.session.SparkSession", expected "pyspark.sql.session.SparkSession") [return-value]
python/pyspark/sql/session.py:507: error: Incompatible return value type (got "pyspark.sql.connect.session.SparkSession", expected "pyspark.sql.session.SparkSession") [return-value]
python/pyspark/sql/session.py:563: error: Incompatible return value type (got "pyspark.sql.connect.session.SparkSession", expected "pyspark.sql.session.SparkSession") [return-value]
python/pyspark/sql/session.py:581: error: Incompatible types in assignment (expression has type "classproperty", variable has type "Builder") [assignment]
python/pyspark/sql/connect/session.py:240: error: Incompatible types in assignment (expression has type "classproperty", variable has type "Builder") [assignment]
Found 5 errors in 2 files (checked 991 source files)
```
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org