di2mot commented on issue #8419:
URL: https://github.com/apache/iceberg/issues/8419#issuecomment-1755796639

   This works for me in general it works:
   ```
   ("spark.jars.packages", "org.apache.iceberg:iceberg-spark3:0.11.0"),
   ("spark.sql.extensions", 
"org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions"),
   ("spark.sql.catalog.iceberg", "org.apache.iceberg.spark.spark.SparkCatalog"),
   ("spark.sql.catalog.iceberg.catalog.iceberg.type", "hadoop"),
   ("spark.sql.catalog.iceberg.warehouse", self.path)
   ```
   But it when I use local, not in docker/kuber, and on the server, on the 
Airflow we use this one without spark.jars.packages:
   ```
   ...
   ("spark.sql.extensions", 
"org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions"),
   ("spark.sql.catalog.iceberg", "org.apache.iceberg.spark.spark.SparkCatalog"),
   ("spark.sql.catalog.iceberg.catalog.iceberg.type", "hadoop"),
   ("spark.sql.catalog.iceberg.warehouse", self.path)
   ...
   ```
   Becouse we add them in .yaml file:
       packages:
         - org.apache.spark:spark-sql-kafka-0-10_2.12:3.4.1
         - org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.4.0


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to