Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Wrong type in Dataframe.write.parquet #555

Closed
ghost opened this issue Dec 16, 2021 · 0 comments · Fixed by #556
Closed

Wrong type in Dataframe.write.parquet #555

ghost opened this issue Dec 16, 2021 · 0 comments · Fixed by #556

Comments

@ghost
Copy link

ghost commented Dec 16, 2021

MyPy complains when the partitionBy argument in DataFrame.parquet.write is of type str, although the pyspark docs says that str should be ok.

error: Argument "partitionBy" to "parquet" of "DataFrameWriter" has incompatible type "str"; expected "Optional[List[str]]"

partitionBy: Optional[List[str]] = ...,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants