We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1d264 commit d02e0aeCopy full SHA for d02e0ae
1 file changed
python/datafusion/catalog.py
@@ -150,8 +150,8 @@ def __repr__(self) -> str:
150
return self.table.__repr__()
151
152
@staticmethod
153
- def from_dataset(dataset: pa.dataset.Dataset) -> Table:
154
- """Turn a pyarrow Dataset into a Table."""
+ def from_dataset(dataset: object) -> Table:
+ """Turn any ``__arrow_c_stream__`` source into a Table."""
155
return Table(df_internal.catalog.RawTable.from_dataset(dataset))
156
157
@property
0 commit comments