Support Variable-Setting Hint SET_VAR
#18748
Labels
feature/accepted
This feature request is accepted by product managers
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
priority/P1
The issue has P1 priority.
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
Is your feature request related to a problem? Please describe:
TiDB supports lots of variables for applications. For example,
tidb_opt_distinct_agg_push_down
, the typical usage is:With this hint, there is no need to save and restore the variable value, the above example can be rewritten to:
#11703 also described another use case on
tidb_snapshot
.Describe the feature you'd like:
Support the
set_var
hint like MySQL Variable-Setting Hint SyntaxDescribe alternatives you've considered:
N/A
Teachability, Documentation, Adoption, Migration Strategy:
N/A
The text was updated successfully, but these errors were encountered: