Skip to content

Add chunk size in streaming function #473

Description

@s0und0fs1lence

(you don't have to strictly follow this form)

Use case
Allow caller to define the chunk size, given the fact that every app may require different tradeoffs while iterating trought the data.

A clear and concise description of what is the intended usage scenario is.
Different application need different chunk size. give the caller the ability to configure it

Describe the solution you'd like

chdb_stream_query(query,format,{additional_parameters})
add a third argument to the call which includes a struct or any other thing that can allow the caller to controll how many rows are in each chunk.

A clear and concise description of what you want to happen.

Describe alternatives you've considered

Add new methods instead with the new parameter, while leaving the rest intact.

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions