OpenMLDB icon indicating copy to clipboard operation
OpenMLDB copied to clipboard

test: add msg and refresh for coverage test

Open vagetablechicken opened this issue 1 year ago • 4 comments

vagetablechicken avatar Jul 31 '23 10:07 vagetablechicken

Codecov Report

Patch coverage: 58.33% and project coverage change: +0.01% :tada:

Comparison is base (1b8d596) 75.33% compared to head (4159695) 75.34%. Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3413      +/-   ##
============================================
+ Coverage     75.33%   75.34%   +0.01%     
  Complexity      414      414              
============================================
  Files           707      707              
  Lines        128428   128442      +14     
  Branches       1191     1191              
============================================
+ Hits          96751    96775      +24     
+ Misses        31436    31426      -10     
  Partials        241      241              
Files Changed Coverage Δ
src/client/tablet_client.cc 58.41% <0.00%> (-0.58%) :arrow_down:
src/nameserver/name_server_impl.cc 44.93% <ø> (+0.16%) :arrow_up:
src/nameserver/name_server_impl.h 100.00% <ø> (ø)
src/tablet/tablet_impl.cc 65.34% <62.50%> (-0.08%) :arrow_down:
src/cmd/sql_cmd_test.cc 98.70% <100.00%> (+<0.01%) :arrow_up:
src/tablet/sql_cluster_availability_test.cc 93.98% <100.00%> (+0.02%) :arrow_up:

... and 12 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jul 31 '23 10:07 codecov[bot]

Linux Test Report

       57 files  ±0       234 suites  ±0   1h 12m 1s :stopwatch: - 3m 15s 12 083 tests ±0  12 076 :heavy_check_mark: ±0  7 :zzz: ±0  0 :x: ±0  17 145 runs  ±0  17 138 :heavy_check_mark: ±0  7 :zzz: ±0  0 :x: ±0 

Results for commit 41596951. ± Comparison against base commit 1b8d5965.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 31 '23 11:07 github-actions[bot]

SDK Test Report

  98 files  ±0    98 suites  ±0   1m 58s :stopwatch: -29s 222 tests ±0  209 :heavy_check_mark: ±0  13 :zzz: ±0  0 :x: ±0  269 runs  ±0  256 :heavy_check_mark: ±0  13 :zzz: ±0  0 :x: ±0 

Results for commit 41596951. ± Comparison against base commit 1b8d5965.

This pull request removes 30 and adds 9 tests. Note that renamed tests count towards both.
  PARTITION BY db1.t1.col2 ORDER BY db1.t1.col1
  PARTITION BY t1.col2 ORDER BY t1.col1
  ROWS_RANGE BETWEEN 3 PRECEDING AND CURRENT ROW
 ) limit 10;](1)
 ) limit 10;](2)
 ) limit 10;](3)
 FROM db1.t1
 FROM t1
 WINDOW w1 AS (
 last join db2.t2 order by db2.t2.col1
…
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlLastJoinWithMultipleDB[,  SELECT sum(db1.t1.col1) over w1 as sum_t1_col1, db2.t2.str1 as t2_str1
 FROM db1.t1
 last join db2.t2 order by db2.t2.col1
 on db1.t1.col1 = db2.t2.col1 and db1.t1.col2 = db2.t2.col0
 WINDOW w1 AS (
  PARTITION BY db1.t1.col2 ORDER BY db1.t1.col1
  ROWS_RANGE BETWEEN 3 PRECEDING AND CURRENT ROW
 ) limit 10;](2)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlLastJoinWithMultipleDB[db1,  SELECT sum(t1.col1) over w1 as sum_t1_col1, db2.t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = db2.t2.col1 and t1.col2 = db2.t2.col0
 WINDOW w1 AS (
  PARTITION BY t1.col2 ORDER BY t1.col1
  ROWS_RANGE BETWEEN 3 PRECEDING AND CURRENT ROW
 ) limit 10;](1)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlLastJoinWithMultipleDB[null,  SELECT sum(db1.t1.col1) over w1 as sum_t1_col1, db2.t2.str1 as t2_str1
 FROM db1.t1
 last join db2.t2 order by db2.t2.col1
 on db1.t1.col1 = db2.t2.col1 and db1.t1.col2 = db2.t2.col0
 WINDOW w1 AS (
  PARTITION BY db1.t1.col2 ORDER BY db1.t1.col1
  ROWS_RANGE BETWEEN 3 PRECEDING AND CURRENT ROW
 ) limit 10;](3)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlMultipleDBErrorTest[, SELECT db2.t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = db2.t2.col1 and t1.col2 = db2.t2.col0;
, SQL parse error: Fail to transform data provider op: table t1 not exists in database []](4)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlMultipleDBErrorTest[db1, SELECT db1.t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = db2.t2.col1 and t1.col2 = db2.t2.col0;
, SQL parse error: Column Not found: db1.t2.str1](2)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlMultipleDBErrorTest[db1, SELECT db2.t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = t2.col1 and t1.col2 = db2.t2.col0;
, SQL parse error: Column Not found: .t2.col1](3)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlMultipleDBErrorTest[db1, SELECT t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = db2.t2.col1 and t1.col2 = db2.t2.col0;
, SQL parse error: Column Not found: .t2.str1](1)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlMultipleDBErrorTest[null, SELECT db2.t2.str1 as t2_str1
 FROM t1
 last join db2.t2 order by db2.t2.col1
 on t1.col1 = db2.t2.col1 and t1.col2 = db2.t2.col0;
, SQL parse error: Fail to transform data provider op: table t1 not exists in database []](5)
com._4paradigm.hybridse.sdk.SqlEngineTest ‑ sqlWindowLastJoin[ SELECT sum(t1.col1) over w1 as sum_t1_col1, t2.str1 as t2_str1
 FROM t1
 last join t2 order by t2.col1
 on t1.col1 = t2.col1 and t1.col2 = t2.col0
 WINDOW w1 AS (
  PARTITION BY t1.col2 ORDER BY t1.col1
  ROWS_RANGE BETWEEN 3 PRECEDING AND CURRENT ROW
 ) limit 10;](1)

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 31 '23 11:07 github-actions[bot]

https://github.com/4paradigm/OpenMLDB/actions/runs/5737110908/job/15969999175?pr=3413 check it

vagetablechicken avatar Aug 21 '23 11:08 vagetablechicken