You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "meetsitaram (via GitHub)" <gi...@apache.org> on 2023/05/22 05:34:11 UTC
[GitHub] [iceberg] meetsitaram commented on issue #7226: Structured streaming writes to partitioned table fails when spark.sql.extensions is set to IcebergSparkSessionExtensions
meetsitaram commented on issue #7226:
URL: https://github.com/apache/iceberg/issues/7226#issuecomment-1556564782
I had the same issue, but worked when I changed the configs from `spark.sql.catalog.spark_catalog` to `spark.sql.catalog.iceberg`.
```scala
SparkConf()
.set("spark.sql.catalog.iceberg", "org.apache.iceberg.spark.SparkCatalog")
.set("spark.sql.catalog.iceberg.catalog-impl", "hadoop")
.set("spark.sql.catalog.iceberg.catalog.warehouse", config.warehouse)
.set("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
```
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org