4paradigm / 4paradigm/OpenMLDB
feat(offline): support const project with arbitrary expression for const projection
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
offline only supports `select `, it is better to support arbitrary expression in const projection, e.g `select fn(12)`.
The feature is generally ease the workflow of integration tests that for example want to test the correctness of a external registered function via `create function` statement.
Contributor guide
Research direction
The issue is about extending const projection in offline mode to support arbitrary expressions like `select fn(12)`. Look at the SQL parser and query planner for const projection handling, likely in the offline execution path. Check how external registered functions are integrated. The goal is to allow expressions in const projections for integration testing of user-defined functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100