AwasthiSomesh commented on issue #12234:
URL: https://github.com/apache/iceberg/issues/12234#issuecomment-2654263197
@RussellSpitzer This is SQL query but how spark configuration will use to
catalog in single spark session.
val spark = SparkSession.builder().master("local[*]")
.config("spark.sql.defaultCatalog", "**spark_catalog** ")
.config("spark.sql.defaultCatalog", "**glue_catalog**")
.config("spark.sql.extensions",
"org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions")
.config("spark.sql.catalog.AwsDataCatalog",
"org.apache.iceberg.spark.SparkCatalog") .getOrCreate();
spark .sql(SELECT * from glue_catalog.namespace.table INSERT INTO
spark_catalog.namespace.table)
Please let me know how to set 2 diff catalog in single spark session.
Thanks,
Somesh
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]