Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use fetch_arrow_table instead of fetchall for DuckDB #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dandandan
Copy link

@Dandandan Dandandan changed the title use fetch_arrow_table instead of fetchall use fetch_arrow_table instead of fetchall for DuckDB Nov 30, 2023
@alamb
Copy link
Collaborator

alamb commented Nov 30, 2023

We should definitely make this change

Note that fetchall is what the duckdb provided scripts from ClickBench:
https://github.com/ClickHouse/ClickBench/blob/1a8ecca8808378da011a3050d648cb9dbd2a1d95/duckdb-parquet/query.py#L15

@Dandandan
Copy link
Author

Dandandan commented Nov 30, 2023

We should definitely make this change

Note that fetchall is what the duckdb provided scripts from ClickBench: https://github.com/ClickHouse/ClickBench/blob/1a8ecca8808378da011a3050d648cb9dbd2a1d95/duckdb-parquet/query.py#L15

Yes, and the reason it's not a problem there is that every query in clickbench has limit 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants