Skip to content

DbApiHook: add chunksize to get_pandas_df parameters #8468

@wittfabian

Description

@wittfabian

Description

The method "get_pandas_df" should be extended by the parameter "chunksize".

Use case / motivation

For the case that very large amounts of data are read, the "chunksize" is a good way to reduce the size of individual queries.

Links

return psql.read_sql(sql, con=conn, params=parameters)

https://github.com/pandas-dev/pandas/blob/0.25.x/pandas/io/sql.py#L344

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions