Christian Pfarr
03/13/2023, 9:54 PMAnalysisException: Table or view not found: default.delta_table;
doesnt matter if i use "default" as namespace or my own name...
(Yes the table data and deltalog is there in minio, so everything is fine from storage perspective and i can read the table by path)
Could you explain why i can only see my tables during a session and maybe what i could do to see my tables also from other sessions as well?Dominique Brezinski
03/13/2023, 10:34 PMChristian Pfarr
03/14/2023, 6:46 AMdelta_catalog_location = "<s3a://lakehouse/delta-warehouse>"
spark = SparkSession.builder \
.appName("DeltaCDF") \
.config('spark.executor.memory', '2g') \
.config("spark.sql.extensions", "io.delta.sql.DeltaSparkSessionExtension") \
.config("spark.sql.catalog.spark_catalog", "org.apache.spark.sql.delta.catalog.DeltaCatalog") \
.config(f"spark.sql.warehouse.dir", delta_catalog_location) \
.getOrCreate()
Shouldnt the sql.warehouse.dir command set to shared location do the job?
How to configure my session with different metastore if i dont have hive or glue etc?enableHiveSupport()
does the trick in that szenario...
it ist just a little bit unfortunate that im in need of a hive metastore to handle this. I thought the delta catalog would be able to scan the warehouse directory for databases and loads them on demand 😕