It would appear Databricks now require you to include the ‘Catalog Name’ when creating a Delta Table (well, at least in the way that I want to create a Delta Table).
Without going through the whole code, the following code will create a database and delta table in traditional Databricks with Hive_metastore called ‘baseapm.securelogin’
deltadf = DeltaTable.forName(spark,f"{stageName}{regName}")
stageName = base
regName = apm.securelogin
Combining those two variables together will output:
baseapm.securelogin
Databricks appear to have made some changes and it would appear you now have to create the delta tables inside the Catalog Name in which case I need to modify the code above to include the Catalog Name.
My Catalog Name is called ‘liveend2end’
Therefore, I need to modify my code above such that it outputs the following:
liveend2end.apm.securelogin
I tried the following.
catName = ‘liveend2end’
deltadf = DeltaTable.forName(spark,f"{catName}{stageName}{regName}")
But all I got was liveend2endapm.securelogin
However, what the output I need is:
liveend2end.apm.securelogin
Can someone show me how to modify the code such that I get
liveend2end.apm.securelogin