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.17k stars 1.82k forks source link

[Enhancement] Improve insert timeout error message #53011

Closed wyb closed 4 days ago

wyb commented 6 days 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:

sonarcloud[bot] commented 6 days ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
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

github-actions[bot] commented 6 days ago

[Java-Extensions Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] commented 6 days ago

[FE Incremental Coverage Report]

:x: fail : 0 / 1 (00.00%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: com/starrocks/qe/StmtExecutor.java 0 1 00.00% [2401]
github-actions[bot] commented 6 days ago

[BE Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

wyb commented 4 days ago

https://github.com/Mergifyio backport branch-3.4

mergify[bot] commented 4 days ago

backport branch-3.4

✅ Backports have been created

* [#53098 [Enhancement] Improve insert timeout error message (backport #53011)](https://github.com/StarRocks/starrocks/pull/53098) has been created for branch `branch-3.4`