Back
You can try using path of tables, you can list the table using this command:
spark.conf.get("spark.sql.warehouse.dir") + s"/$tableName"
Also, if you are using any external tables then you can use this command:
catalog.getTableMetadata(ident).location.getPath
I hope this will work.
Want to become an Azure expert? join azure architect certification now!!
31k questions
32.8k answers
501 comments
693 users