Forum Discussion
smpa01
Community Champion
2 years agoNotebook fails after save as copy
I have a NB that is attached to a lakehouse and I am executing the following which works fine
%%pyspark
from delta.tables import *
tbl_name = "fact_sales"
tbl_path = "Tables/"+tbl_name
delt...
- 2 years ago
This worked
tbl_name = "fact_sales" tbl_name_path = "Tables/"+tbl_name #delta_table = DeltaTable.forPath(spark, tbl_name_path) delta_table = DeltaTable.forName(spark, tbl_name)
smpa01
Community Champion
2 years agoThis worked
tbl_name = "fact_sales"
tbl_name_path = "Tables/"+tbl_name
#delta_table = DeltaTable.forPath(spark, tbl_name_path)
delta_table = DeltaTable.forName(spark, tbl_name)