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

[Bug]: Setting thread in DuckDB does not use multithread #1116

Open
1 task done
ketozhang opened this issue Oct 8, 2024 · 0 comments
Open
1 task done

[Bug]: Setting thread in DuckDB does not use multithread #1116

ketozhang opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ketozhang
Copy link

What happened?

In DuckDB you can set the number of thread with

SET threads = 16

This is particularly powerful for queries that need a full table scan of data stored remotely

SELECT * FROM "s3://path/to/*.parquet" where username = 'Bob'

Running this in sqlalchemy duckdb:///:memory: does not seem to be using multiple threads.

DuckDB Engine Version

0.13.2

DuckDB Version

1.1.1

SQLAlchemy Version

1.4.52

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ketozhang ketozhang added the bug Something isn't working label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants