StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.03k stars 1.82k forks source link

[Enhancement] Improve insert timeout error message (backport #53011) #53098

Closed mergify[bot] closed 18 hours ago

mergify[bot] commented 19 hours ago

Why I'm doing:

mysql> insert into t1 properties("timeout" = "2") select sleep(4);
ERROR 5024 (HY000): Insert reached its timeout of 2 seconds, please increase the 'insert_timeout' session variable and retry

What I'm doing:

mysql> insert into t1 properties("timeout" = "2") select sleep(4);
ERROR 5024 (HY000): Insert reached its timeout of 2 seconds, please increase the 'insert_timeout' session variable or the 'timeout' property for insert statement and retry

Fixes #issue

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

Bugfix cherry-pick branch check:

What I'm doing:

mysql> insert into t1 properties("timeout" = "2") select sleep(4);
ERROR 5024 (HY000): Insert reached its timeout of 2 seconds, please increase the 'insert_timeout' session variable or the 'timeout' property for insert statement and retry

Fixes #issue

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

sonarcloud[bot] commented 19 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud