@@ -415,7 +415,7 @@ class DuckDBPyRelation:
415415 def variance (self , column : str , groups : str = ..., window_spec : str = ..., projected_columns : str = ...) -> DuckDBPyRelation : ...
416416 def list (self , column : str , groups : str = ..., window_spec : str = ..., projected_columns : str = ...) -> DuckDBPyRelation : ...
417417
418- def arrow (self , batch_size : int = ...) -> pyarrow .lib .Table : ...
418+ def arrow (self , batch_size : int = ...) -> pyarrow .lib .RecordBatchReader : ...
419419 def __arrow_c_stream__ (self , requested_schema : Optional [object ] = None ) -> object : ...
420420 def create (self , table_name : str ) -> None : ...
421421 def create_view (self , view_name : str , replace : bool = ...) -> DuckDBPyRelation : ...
@@ -448,12 +448,13 @@ class DuckDBPyRelation:
448448 def pl (self , rows_per_batch : int = ..., connection : DuckDBPyConnection = ...) -> polars .DataFrame : ...
449449 def query (self , virtual_table_name : str , sql_query : str ) -> DuckDBPyRelation : ...
450450 def record_batch (self , batch_size : int = ...) -> pyarrow .lib .RecordBatchReader : ...
451+ def fetch_record_batch (self , rows_per_batch : int = 1000000 , * , connection : DuckDBPyConnection = ...) -> pyarrow .lib .RecordBatchReader : ...
451452 def select_types (self , types : List [Union [str , DuckDBPyType ]]) -> DuckDBPyRelation : ...
452453 def select_dtypes (self , types : List [Union [str , DuckDBPyType ]]) -> DuckDBPyRelation : ...
453454 def set_alias (self , alias : str ) -> DuckDBPyRelation : ...
454455 def show (self , max_width : Optional [int ] = None , max_rows : Optional [int ] = None , max_col_width : Optional [int ] = None , null_value : Optional [str ] = None , render_mode : Optional [RenderMode ] = None ) -> None : ...
455456 def sql_query (self ) -> str : ...
456- def to_arrow_table (self , batch_size : int = ...) -> pyarrow .lib .RecordBatchReader : ...
457+ def to_arrow_table (self , batch_size : int = ...) -> pyarrow .lib .Table : ...
457458 def to_csv (
458459 self ,
459460 file_name : str ,
0 commit comments