You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "jkolash (via GitHub)" <gi...@apache.org> on 2024/12/10 17:02:53 UTC

[I] org.apache.iceberg.spark.source.IcebergSource.setupDefaultSparkCatalogs shouldn't default to hive catalog [iceberg]

jkolash opened a new issue, #11742:
URL: https://github.com/apache/iceberg/issues/11742

   ### Feature Request / Improvement
   
   https://github.com/apache/iceberg/blob/main/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/IcebergSource.java#L239
   
   It should default to another catalog implementation as hive is a bigger dependency than other catalog implementations.
   
   HadoopCatalog does work when I manually in the debugger set
   spark.sql.catalog.default_iceberg.type=hadoop
   spark.sql.catalog.default_iceberg.warehouse=/tmp/testing/warehouse/
   
   I encountered this issue because I would like the ability to load a metadata.json directly via spark
   
   ```scala
   spark.read.format("iceberg").load("s3://bucket/path/metadata/metadata.json")
   ```
   
   and encounter missing hive dependencies
   
   ### Query engine
   
   Spark
   
   ### Willingness to contribute
   
   - [X] I can contribute this improvement/feature independently
   - [X] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


-- 
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.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


Re: [I] org.apache.iceberg.spark.source.IcebergSource.setupDefaultSparkCatalogs shouldn't default to hive catalog [iceberg]

Posted by "jkolash (via GitHub)" <gi...@apache.org>.
jkolash commented on issue #11742:
URL: https://github.com/apache/iceberg/issues/11742#issuecomment-2532512695

   ok setting 
   spark.sql.catalog.default_iceberg=org.apache.iceberg.spark.SparkCatalog 
   
   will allow you to override the default values.
   


-- 
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


Re: [I] org.apache.iceberg.spark.source.IcebergSource.setupDefaultSparkCatalogs shouldn't default to hive catalog [iceberg]

Posted by "jkolash (via GitHub)" <gi...@apache.org>.
jkolash commented on issue #11742:
URL: https://github.com/apache/iceberg/issues/11742#issuecomment-2532329867

   This is probably the simplest fix
   https://github.com/apache/iceberg/pull/11743
   
   allow users to set these properties directly 
   
   a bigger fix may be to use another catalog implementation but given that HadoopCatalog and HiveCatalog are scheduled to be maybe outside of this project it isn't clear which one should be chosen.


-- 
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


Re: [I] org.apache.iceberg.spark.source.IcebergSource.setupDefaultSparkCatalogs shouldn't default to hive catalog [iceberg]

Posted by "jkolash (via GitHub)" <gi...@apache.org>.
jkolash closed issue #11742: org.apache.iceberg.spark.source.IcebergSource.setupDefaultSparkCatalogs shouldn't default to hive catalog
URL: https://github.com/apache/iceberg/issues/11742


-- 
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