From 6b2b1236290b26ed2770e3e25d2f2d63693aa6ae Mon Sep 17 00:00:00 2001 From: desmondcheongzx Date: Wed, 18 Dec 2024 09:42:58 +0800 Subject: [PATCH] Add example --- daft/expressions/expressions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daft/expressions/expressions.py b/daft/expressions/expressions.py index 68f7d9f659..d190f7801e 100644 --- a/daft/expressions/expressions.py +++ b/daft/expressions/expressions.py @@ -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.