influxdata / influxdata/influxdb
PushDownFilterRule does not push down negative literals
Open
team/query
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Negative literals will show up as a unary operator surrounding a literal. The push down filter rule does not recognize this pattern so it won't push down negative numbers to the storage layer.
The push down filter should recognize negative numbers and translate those literals correctly.
Related to #17062.
Contributor guide
Research direction
Start by locating PushDownFilterRule and read the discussion in related issue #17062. Trace how unary operators around literals are handled during filter pushdown, then verify that negative numbers are translated correctly for the storage layer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100