Skip to content

use fetch_arrow_table instead of fetchall for DuckDB#25

Open
Dandandan wants to merge 1 commit into
JayjeetAtGithub:mainfrom
Dandandan:patch-1
Open

use fetch_arrow_table instead of fetchall for DuckDB#25
Dandandan wants to merge 1 commit into
JayjeetAtGithub:mainfrom
Dandandan:patch-1

Conversation

@Dandandan

Copy link
Copy Markdown

@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

alamb commented Nov 30, 2023

Copy link
Copy Markdown
Collaborator

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

Dandandan commented Nov 30, 2023

Copy link
Copy Markdown
Author

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