starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[SR SQL Planner Summer Camp] add showSnapshot analyzer

Open melt-code opened this issue 1 year 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 showSnapshot analyzer

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

run starrocks_fe_unittest

melt-code avatar Aug 10 '22 14:08 melt-code

[FE PR Coverage Check]

:heart_eyes: pass : 62 / 72 (86.11%)

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% [492]
:large_blue_circle: com/starrocks/sql/analyzer/ShowSnapshotAnalyzer.java 48 56 85.71% [19, 37, 60, 61, 73, 75, 109, 115]
:large_blue_circle: com/starrocks/analysis/ShowSnapshotStmt.java 6 7 85.71% [172]
: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% []

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

run starrocks_admit_test

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