Skip to content

Commit 6720ee5

Browse files
committed
add docstrings
1 parent d416a68 commit 6720ee5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

python/datafusion/dataframe.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,16 @@ class InsertOp(Enum):
12571257
"""
12581258

12591259
APPEND = InsertOpInternal.APPEND
1260+
"""Appends new rows to the existing table without modifying any existing rows."""
1261+
12601262
REPLACE = InsertOpInternal.REPLACE
1263+
"""Replace existing rows that collide with the inserted rows.
1264+
1265+
Replacement is typically based on a unique key or primary key.
1266+
"""
1267+
12611268
OVERWRITE = InsertOpInternal.OVERWRITE
1269+
"""Overwrites all existing rows in the table with the new rows."""
12621270

12631271

12641272
class DataFrameWriteOptions:

0 commit comments

Comments
 (0)