datafusion-contrib / datafusion-contrib/datafusion-distributed

tests and benchmarks on range partitioned data

Open
#628 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
139
Forks
67
Avg merge
3d 1h
Merged PRs (30d)
35

Description

See https://github.com/datafusion-contrib/datafusion-distributed/blob/a6cff424261623dbdd1e2b5cbe83e5273ebc22de/tests/join.rs?plain=1#L120

It's not valid in datafusion to claim your data source is distributed by hash(expr), so this test isn't useful. We should migrate it to a distribution which maps to range partitioning.

There's several open questions that can only really be solved with tests

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the range-related test in tests/join.rs, then read file_scan_config_scale_up_leaf_node in src/events/defaults/file_scan_config.rs and scale_partitioning in src/execution_plans/common.rs. Use the existing questions to determine how range partitioning behaves when files or partitions are scaled, and cover those cases with tests and benchmarks. Done means the tests exercise range-partitioned data and establish whether repartitioning and scaling are correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.