You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks interesting. I wonder are timeout settings per session? I am trying to measure the scope of the work, do we have similar session variable implementation examples on the codebase?
@lyang24 good to hear. Yes this variable is session-scoped like our time zone setting. You can check src/session/src/lib.rs as the start for timezone impl, including how we set and how we use it.
What problem does the new feature solve?
Add variables to MySQL and Postgres for controlling statement execution timeout.
This is also a compatibility requirement from Sigma.
What does the feature do?
For MySQL protocol, we need to support
SET MAX_EXECUTION_TIME = 5000
: https://dev.mysql.com/doc/refman/8.4/en/server-system-variables.html#sysvar_max_execution_timeFor Postgres protocol, we need to support
SET statement_timeout TO 5000
: https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-STATEMENT-TIMEOUTImplementation challenges
No response
The text was updated successfully, but these errors were encountered: