4paradigm / 4paradigm/OpenMLDB
query trace
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
Expose the execute info of each step to end user.
Still not well defined of those concepts
**execute info**
- execute time
- execute result (row data)
**step**
A query is executed by one or multiple runner plan
**end user**
Trace info can be available in cli and SDK. A system variable can exists to control run query trace on/off (off default).
------
*A general feature, open as issue for further tracking.*
Contributor guide
Research direction
The issue mentions exposing execute info (time, result) per step of a query runner plan to end users via CLI and SDK, with a system variable to toggle tracing. Start by examining the query execution engine and runner plan structure in the codebase. Look for existing logging or profiling mechanisms. Determine how to instrument steps to collect trace data and expose it through the CLI interface and SDK APIs. Define what a 'step' entails and how the trace data should be formatted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cli, sql
- Domain
- cli, database, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100