cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

iceberg

Mohsen
New Contributor
Hi fellas
i am working on databricks using iceberg
at first i have configured my notebook as below
spark.conf.set("spark.sql.catalog.spark_catalog","org.apache.iceberg.spark.SparkCatalog")
spark.conf.set("spark.sql.catalog.spark_catalog.type", "hadoop")
spark.conf.set("spark.sql.catalog.spark_catalog.warehouse", "dbfs:/TPCDSIceberg/Data/")
then i created an iceberg tables
spark.sql(s"CREATE DATABASE IF NOT EXISTS bronzedb") spark.sql(s"DROP TABLE IF EXISTS bronzedb.bronzeTable") // Create an empty Delta table in the bronze layer spark.sql( s""" |CREATE TABLE bronzedb.bronzeTable($schemas) |USING $sinkFormat |location 'dbfs:/TPCDSIceberg/Data/bronzedb/bronzeTableName' |""".stripMargin )
and then i tried to load this table
val icebergDf = spark.read.format("iceberg").load(s"bronzedb.bronze_call_center")
but i get this Exception
RuntimeMetaException: Failed to connect to Hive Metastore Caused by: RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient Caused by: InvocationTargetException: Caused by: MetaException: Version information not found in metastore.

 

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group