@@ -415,7 +415,7 @@ class DuckDBPyRelation:
415
415
def variance (self , column : str , groups : str = ..., window_spec : str = ..., projected_columns : str = ...) -> DuckDBPyRelation : ...
416
416
def list (self , column : str , groups : str = ..., window_spec : str = ..., projected_columns : str = ...) -> DuckDBPyRelation : ...
417
417
418
- def arrow (self , batch_size : int = ...) -> pyarrow .lib .Table : ...
418
+ def arrow (self , batch_size : int = ...) -> pyarrow .lib .RecordBatchReader : ...
419
419
def __arrow_c_stream__ (self , requested_schema : Optional [object ] = None ) -> object : ...
420
420
def create (self , table_name : str ) -> None : ...
421
421
def create_view (self , view_name : str , replace : bool = ...) -> DuckDBPyRelation : ...
@@ -448,12 +448,13 @@ class DuckDBPyRelation:
448
448
def pl (self , rows_per_batch : int = ..., connection : DuckDBPyConnection = ...) -> polars .DataFrame : ...
449
449
def query (self , virtual_table_name : str , sql_query : str ) -> DuckDBPyRelation : ...
450
450
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 : ...
451
452
def select_types (self , types : List [Union [str , DuckDBPyType ]]) -> DuckDBPyRelation : ...
452
453
def select_dtypes (self , types : List [Union [str , DuckDBPyType ]]) -> DuckDBPyRelation : ...
453
454
def set_alias (self , alias : str ) -> DuckDBPyRelation : ...
454
455
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 : ...
455
456
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 : ...
457
458
def to_csv (
458
459
self ,
459
460
file_name : str ,
0 commit comments