apache / apache/datafusion

Determine the expression boundaries of an `AND` conjuction

Open
#4,158 0 comments 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.**

Where we have an expression like `a > 20 AND a < 80`, we should be able to determine the boundaries of this operation by looking at the boundaries of the two sides and applying logical AND over the set of possible values.

**Describe the solution you'd like**

Implement both boundary analysis and selectivity analysis for the `AND` conjunctions.

**Describe alternatives you've considered**
None

**Additional context**
Tracked in #3929

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Start by reading the related issue #3929 to understand the tracked context, then identify where expression boundary and selectivity analysis are implemented; done means both analyses support AND conjunctions such as `a > 20 AND a < 80`.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.