4paradigm / 4paradigm/OpenMLDB

feat(offline): support const project with arbitrary expression for const projection

Open
#3,405 0 comments 0 reactions 1 assignee Claimed by @tobegit3hub View on GitHub
batch-engine enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.