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

Disable dask query-planning #673

Merged
merged 1 commit into from Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions apis/python/src/tiledbvcf/dask_functions.py
@@ -1,4 +1,6 @@
import dask

dask.config.set({"dataframe.query-planning": False})
import dask.dataframe

import pyarrow as pa
Expand Down
2 changes: 2 additions & 0 deletions apis/python/tests/test_dask.py
Expand Up @@ -5,6 +5,8 @@
import tiledbvcf

import dask

dask.config.set({"dataframe.query-planning": False})
import dask.distributed

# Directory containing this file
Expand Down
2 changes: 2 additions & 0 deletions documentation/how-to/perform-distributed-queries-with-dask.md
Expand Up @@ -10,6 +10,8 @@ You can use the `tiledbvcf` package's Dask integration to partition read operati
import tiledbvcf
import dask

dask.config.set({'dataframe.query-planning': False})

ds = tiledbvcf.Dataset('my-large-dataset', mode='r')
dask_df = ds.read_dask(attrs=['sample_name', 'pos_start', 'pos_end'],
bed_file='very-large-bedfile.bed',
Expand Down