starrocks
starrocks copied to clipboard
[SR SQL Planner Summer Camp] add createRepository analyzer
What type of PR is this:
- [ ] bug
- [x] feature
- [ ] enhancement
- [ ] refactor
- [ ] others
Which issues of this PR fixes :
Fixes #7951
Problem Summary(Required) :
add createRepository analyzer
run starrocks_be_unittest
run starrocks_fe_unittest
@melt-code now we support backup and restore supports without broker: https://github.com/StarRocks/starrocks/pull/9319. New createRepository analyzer here should also support this.
Grammar for create repository without broker
Grammar for create repository without broker
![]()
Syntax compatibility for this grammar has been added
[FE PR Coverage Check]
:heart_eyes: pass : 41 / 48 (85.42%)
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% | [453] |
| :large_blue_circle: | com/starrocks/sql/analyzer/PrivilegeChecker.java | 2 | 3 | 66.67% | [1269] |
| :large_blue_circle: | com/starrocks/sql/analyzer/CreateRepositoryAnalyzer.java | 23 | 28 | 82.14% | [15, 30, 47, 48, 53] |
| :large_blue_circle: | com/starrocks/sql/analyzer/Analyzer.java | 2 | 2 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/parser/AstBuilder.java | 12 | 12 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/analysis/CreateRepositoryStmt.java | 2 | 2 | 100.00% | [] |
run starrocks_admit_test
run starrocks_admit_test







