Skip to content

Commit

Permalink
Add example
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondcheongzx committed Dec 18, 2024
1 parent 5badcb4 commit 6b2b123
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daft/expressions/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,10 @@ def upload(
Example:
>>> col("data").url.upload("s3://my-bucket/my-folder") # doctest: +SKIP
Upload to row-specific URLs
>>> col("data").url.upload(col("paths")) # doctest: +SKIP
Args:
location: a folder location or column of folder locations to upload data into
max_connections: The maximum number of connections to use per thread to use for uploading data. Defaults to 32.
Expand Down

0 comments on commit 6b2b123

Please sign in to comment.