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

[Enhancement] support dummy alter warehouse #53039

Closed starrocks-xupeng closed 1 day ago

starrocks-xupeng commented 2 days ago

Why I'm doing:

What I'm doing:

community behavior

mysql> alter warehouse default_warehouse set ('compute_replica'='2');
ERROR 1064 (HY000): Multi-Warehouse is not implemented

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:

starrocks-xupeng commented 2 days ago

@mergify rerun

mergify[bot] commented 2 days ago

rerun

❌ Sorry but I didn't understand the command. Please consult the commands documentation 📚.

sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
8 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

github-actions[bot] commented 1 day ago

[Java-Extensions Incremental Coverage Report]

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

github-actions[bot] commented 1 day ago

[FE Incremental Coverage Report]

:x: fail : 13 / 45 (28.89%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: com/starrocks/sql/ast/AstVisitor.java 0 1 00.00% [1029]
:large_blue_circle: com/starrocks/sql/analyzer/AuthorizerStmtVisitor.java 0 8 00.00% [2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796]
:large_blue_circle: com/starrocks/lake/StarOSAgent.java 0 8 00.00% [747, 756, 758, 759, 760, 761, 762, 763]
:large_blue_circle: com/starrocks/qe/DDLStmtExecutor.java 1 5 20.00% [1181, 1183, 1184, 1185]
:large_blue_circle: com/starrocks/sql/ast/warehouse/AlterWarehouseStmt.java 6 16 37.50% [30, 31, 46, 50, 51, 60, 61, 62, 63, 64]
:large_blue_circle: com/starrocks/sql/analyzer/WarehouseAnalyzer.java 3 4 75.00% [103]
:large_blue_circle: com/starrocks/server/WarehouseManager.java 1 1 100.00% []
:large_blue_circle: com/starrocks/sql/analyzer/Analyzer.java 2 2 100.00% []
github-actions[bot] commented 1 day ago

[BE Incremental Coverage Report]

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