Spaces:
Running
Running
Arts-of-coding
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -30,9 +30,12 @@ mountpount=os.environ['AZURE_MOUNT_POINT'],
|
|
30 |
accountkey=os.environ['AZURE_STORAGE_ACCESS_KEY'],
|
31 |
accountname=os.environ['AZURE_STORAGE_ACCOUNT'],
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
36 |
|
37 |
#pq.write_table(polars_dataframe.to_arrow(), 'liu/file_name.parquet', filesystem=abfs)
|
38 |
#storage_options = {
|
|
|
30 |
accountkey=os.environ['AZURE_STORAGE_ACCESS_KEY'],
|
31 |
accountname=os.environ['AZURE_STORAGE_ACCOUNT'],
|
32 |
|
33 |
+
filepath = 'az://bucket-name/df_test_predicate_pushdown.parquet'
|
34 |
+
|
35 |
+
storage_options={'account_name': accountname, 'account_key': accountkey,'anon': False}
|
36 |
+
azfs = AzureBlobFileSystem(**storage_options )
|
37 |
+
|
38 |
+
df = pl.read_parquet(filepath,storage_options=storage_options)
|
39 |
|
40 |
#pq.write_table(polars_dataframe.to_arrow(), 'liu/file_name.parquet', filesystem=abfs)
|
41 |
#storage_options = {
|