Skip to content

Commit 003e6c9

Browse files
authored
Update 1.access_adls_using_access_keys.py
1 parent 6e020c4 commit 003e6c9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

1.access_adls_using_access_keys.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
# Set Azure Data Lake account key
12
spark.conf.set(
23
"fs.azure.account.key.formula1dl.dfs.core.windows.net",
3-
"")
4+
"YOUR_ACCOUNT_KEY"
5+
)
6+
7+
# List files in the 'demo' container
48
display(dbutils.fs.ls("abfss://[email protected]"))
9+
10+
# Read data from 'circuits.csv' in the 'demo' container
511
display(spark.read.csv("abfss://[email protected]/circuits.csv"))
612

0 commit comments

Comments
 (0)