Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2022 10:45 AM
to mount a drive in databricks via the following python code
mountPoint = "/mnt/bronze"
accountName = "<provide account name>"
containerName = "bronze"
account_key = "<provide account key>"
dbutils.fs.mount(
source = f"wasbs://{containerName}@{accountName}.blob.core.windows.net",
mount_point = mountPoint,
extra_configs = {f"fs.azure.account.key.{accountName}.blob.core.windows.net" : account_key} )
to create a table just CREATE ...
then drop, the directory with all files remain after dropping a table