4paradigm / 4paradigm/OpenMLDB

Select constant in offline and sync mode will not print result

Open
#3,076 2 comments 0 reactions 2 assignees Claimed by @vagetablechicken View on GitHub
batch-engine bug
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

c890d67d9f78a72ead602cce74268acc

The reason is that `select 1` will get node data but schema.

![5FCD090BFF0C7E5574683738C08F4FA7](https://user-images.githubusercontent.com/2715000/219629342-94988315-fac6-46e2-b4e3-5d82d8188dc1.jpg)

Contributor guide

Open the contributing guide

Research direction

The issue is about SELECT constant queries not printing results in offline and sync modes. Examine the query execution path for constant expressions, focusing on how node data vs. schema is handled. Look at the SQL engine code, possibly around result set formatting or execution modes. Check test files for SELECT constant queries to understand expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.