zhangfengcdt commented on code in PR #44:
URL: https://github.com/apache/sedona-db/pull/44#discussion_r2335049354
##########
python/sedonadb/python/sedonadb/context.py:
##########
@@ -120,12 +126,28 @@ def read_parquet(self, table_paths: Union[str, Path,
Iterable[str]]) -> DataFram
>>> sedonadb.connect().read_parquet(url)
<sedonadb.dataframe.DataFrame object at ...>
+ >>> # Test with options parameter (empty options should work the
same)
+ >>> sedonadb.connect().read_parquet(url, options={})
+ <sedonadb.dataframe.DataFrame object at ...>
+
+ >>> # Test with None options (should work the same as no options)
+ >>> sedonadb.connect().read_parquet(url, options=None)
+ <sedonadb.dataframe.DataFrame object at ...>
+
+ >>> # Test S3 options (using HTTP URL for reliable testing)
+ >>> sedonadb.connect().read_parquet(url, options={"aws.nosign":
True})
+ <sedonadb.dataframe.DataFrame object at ...>
Review Comment:
Sure, i just removed them from the pydoc to avoid confusion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]