starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[SR SQL Planner Summer Camp] add showRestore analyzer

Open melt-code opened this issue 3 years ago • 3 comments

What type of PR is this:

  • [ ] bug
  • [x] feature
  • [ ] enhancement
  • [ ] refactor
  • [ ] others

Which issues of this PR fixes :

Fixes #7951

Problem Summary(Required) :

add showRestore analyzer

melt-code avatar Jul 19 '22 16:07 melt-code

run starrocks_fe_unittest

melt-code avatar Jul 20 '22 06:07 melt-code

[FE PR Coverage Check]

:heart_eyes: pass : 23 / 25 (92.00%)

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% [445]
:large_blue_circle: com/starrocks/analysis/ShowRestoreStmt.java 5 6 83.33% [124]
:large_blue_circle: com/starrocks/sql/analyzer/Analyzer.java 2 2 100.00% []
:large_blue_circle: com/starrocks/sql/parser/AstBuilder.java 6 6 100.00% []
:large_blue_circle: com/starrocks/sql/analyzer/BackupRestoreAnalyzer.java 4 4 100.00% []
:large_blue_circle: com/starrocks/sql/analyzer/PrivilegeChecker.java 6 6 100.00% []

wanpengfei-git avatar Sep 13 '22 15:09 wanpengfei-git

run starrocks_admit_test

melt-code avatar Sep 13 '22 15:09 melt-code