Add interface to determine whether expr is a constant
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
for datafusion, we need to add interface which is used to identify the expr is constant or literal or not.
If we have this interface, we can make more optimization.
But the interface should be better in the logical expr not in the physical expr like sprak `fold`
_Originally posted by @liukun4515 in https://github.com/apache/arrow-datafusion/pull/2834#discussion_r913453698_
Contributor guide
Research direction
No file or test is named. Start by locating the logical-expression definitions and existing constant or literal handling, then review how logical optimizations consume them. Done means a settled interface in the logical-expression layer, with coverage showing constant expressions are identified without relying on physical expressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data-engineering, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100