Overview
When a query has a topk hint, is_result_accurate indicates whether the result is correct.
Privilege requirements
Query variables
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.SESSION_VARIABLESview to view the values of session system variables.Modify variables
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | ON |
| Value range |
|
| Effective Scope | Session |
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Set the result to be correct when the query has a topk hint.
obclient> SET is_result_accurate= ON;