-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
This works fine in PySpark but does not in Sail:
df.write.format("parquet").option("path", some_path).save()
Sail fails with error IllegalArgumentException: missing argument: save type
Workaround:
df.write.format("parquet").save(path=some_path)
path
option is also important for creating external hive tables (where physical location deviates from spark.sql.warehouse.dir
:
df.write.format("parquet").option("path", some_path).saveAsTable("foo")
When executing this in Sail, path
option is ignored and table is saved with location spark.sql.warehouse.dir
.
See
djouallah
Metadata
Metadata
Assignees
Labels
No labels