pingcap / pingcap/tidb

sql mode does not set in DAGRequest

Open
#38,266 2 comments 0 reactions 0 assignees View on GitHub
severity/minor sig/planner type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

sql mode does not set in DAGRequest so any coprocessor/mpp request that is pushed to tikv/tiflash may not be handled correctly due to sql mode.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where DAGRequest is constructed and how coprocessor or MPP requests are sent to TiKV and TiFlash. Check how SQL mode is represented and propagated through those paths. Done means pushed requests carry the required SQL mode and the relevant request behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, distributed-systems
Issue type
Bug
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.