apache / apache/datafusion

Improve test coverage in `datafusion-proto`

Open
#2,650 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
The `datafusion-proto` crate provides serde of logical plans and expressions. We have limited test coverage and it would be good to have more comprehensive tests.

**Describe the solution you'd like**
Write tests to cover all operators and expressions. We could also consider using fuzz testing as described in https://howqueryengineswork.com/14-testing.html

**Describe alternatives you've considered**
None

**Additional context**
None

Contributor guide

Open the contributing guide

Research direction

Start by locating the datafusion-proto crate and its existing tests for serde of logical plans and expressions. Inventory the operators and expressions that lack coverage, then add tests until they are comprehensively exercised; fuzz testing is an optional direction described in the linked resource.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.