starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[Feature] Implement HiveStatisticsProvider

Open stephen-shelby opened this issue 3 years ago • 4 comments
trafficstars

What type of PR is this:

  • [ ] BugFix
  • [x] Feature
  • [ ] Enhancement
  • [ ] Refactor
  • [ ] UT
  • [ ] Doc
  • [ ] Tool

Which issues of this PR fixes :

Fixes # https://github.com/StarRocks/starrocks/issues/11349

Problem Summary(Required) :

Provide a statistics provider to calculator hive or hudi table statistics

Checklist:

  • [ ] I have added test cases for my bug fix or my new feature
  • [ ] I have added user document for my new feature or new function

stephen-shelby avatar Sep 23 '22 10:09 stephen-shelby

run starrocks_admit_test

stephen-shelby avatar Sep 23 '22 10:09 stephen-shelby

run starrocks_admit_test

stephen-shelby avatar Sep 23 '22 11:09 stephen-shelby

[FE PR Coverage Check]

:heart_eyes: pass : 204 / 248 (82.26%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: com/starrocks/external/hive/HiveStatisticsProvider.java 202 246 82.11% [68, 69, 117, 118, 172, 173, 182, 183, 184, 186, 187, 188, 190, 225, 250, 251, 252, 253, 255, 293, 323, 337, 349, 350, 351, 352, 353, 355, 356, 359, 360, 361, 362, 364, 366, 417, 420, 422, 427, 430, 432, 440, 443, 468]
:large_blue_circle: com/starrocks/qe/SessionVariable.java 2 2 100.00% []

wanpengfei-git avatar Sep 23 '22 12:09 wanpengfei-git

run starrocks_admit_test

stephen-shelby avatar Sep 25 '22 02:09 stephen-shelby

run starrocks_admit_test

wanpengfei-git avatar Sep 25 '22 03:09 wanpengfei-git