4paradigm / OpenMLDB

OpenMLDB is an open-source machine learning database that provides a feature platform computing consistent features for training and inference.
https://openmldb.ai
Apache License 2.0
1.59k stars 321 forks source link

fix: select from JOB_INFO should always in online mode #3963

Closed aceforeverd closed 4 months ago

aceforeverd commented 4 months ago

Fix error when user set default execute_mode to offline:

set global execute_mode = 'offline';
select 1;
github-actions[bot] commented 4 months ago

SDK Test Report

100 files  100 suites   2m 3s :stopwatch: 318 tests 308 :white_check_mark: 10 :zzz: 0 :x: 446 runs  436 :white_check_mark: 10 :zzz: 0 :x:

Results for commit ea939f81.

github-actions[bot] commented 4 months ago

Linux Test Report

    60 files     253 suites   1h 58m 59s :stopwatch: 13 605 tests 13 598 :white_check_mark: 7 :zzz: 0 :x: 19 317 runs  19 310 :white_check_mark: 7 :zzz: 0 :x:

Results for commit ea939f81.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 77.91%. Comparing base (9a81683) to head (ea939f8). Report is 2 commits behind head on main.

Files Patch % Lines
src/sdk/sql_cluster_router.cc 40.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3963 +/- ## ========================================== + Coverage 77.90% 77.91% +0.01% ========================================== Files 566 566 Lines 125666 125671 +5 ========================================== + Hits 97895 97918 +23 + Misses 27771 27753 -18 ```

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