Skip to content

Commit

Permalink
adding import
Browse files Browse the repository at this point in the history
  • Loading branch information
fdosani committed Jun 20, 2024
1 parent 0417485 commit 73df2e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datacompy/spark/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ def _validate_dataframe(
dataframe = getattr(self, index)

if __version__ >= "3.4.0":
import pyspark.sql.connect.dataframe

instances = (pyspark.sql.DataFrame, pyspark.sql.connect.dataframe.DataFrame)
else:
instances = pyspark.sql.DataFrame
Expand Down

0 comments on commit 73df2e2

Please sign in to comment.