Skip to content

Commit 0709dc1

Browse files
authored
Merge pull request #101095 from LoHertel/patch-1
Improve python scripts for parquet to delta conversion
2 parents a4d597a + f3e8429 commit 0709dc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/synapse-analytics/sql/query-delta-lake-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If you don't have this subfolder, you are not using Delta Lake format. You can c
4949

5050
```python
5151
%%pyspark
52-
from delta.tables import *
52+
from delta.tables import DeltaTable
5353
deltaTable = DeltaTable.convertToDelta(spark, "parquet.`abfss://[email protected]/covid`")
5454
```
5555

@@ -168,7 +168,7 @@ If you don't have this subfolder, you are not using Delta Lake format. You can c
168168

169169
```python
170170
%%pyspark
171-
from delta.tables import *
171+
from delta.tables import DeltaTable
172172
deltaTable = DeltaTable.convertToDelta(spark, "parquet.`abfss://[email protected]/yellow`", "year INT, month INT")
173173
```
174174

0 commit comments

Comments
 (0)