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

feat: merge dag sql #3911

Closed wyl4pd closed 6 months ago

wyl4pd commented 6 months ago

sqls: node1: SELECT col1, col2 FROM table1 node2: SELECT col3, col4 FROM table2 node3: SELECT c1.col1, c1.col2, c2.col3, c2.col4 FROM cte1 c1 JOIN cte2 c2 ON c1.col1 = c2.col3

dag: node1: {} node2: {} node3: {cte1: node1, cte2: node2}

tableSchema: table1: ... table2: ...

output: WITH cte1 AS ( SELECT col1, col2 FROM table1 ), cte2 AS ( SELECT col3, col4 FROM table2 ) SELECT c1.col1, c1.col2, c2.col3, c2.col4 FROM cte1 c1 JOIN cte2 c2 ON c1.col1 = c2.col3

github-actions[bot] commented 6 months ago

SDK Test Report

102 files  102 suites   2m 15s :stopwatch: 359 tests 345 :white_check_mark: 14 :zzz: 0 :x: 487 runs  473 :white_check_mark: 14 :zzz: 0 :x:

Results for commit 30614059.

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

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 79.31034% with 30 lines in your changes are missing coverage. Please review.

Project coverage is 75.19%. Comparing base (d9bb344) to head (3061405). Report is 4 commits behind head on main.

Files Patch % Lines
...va/com/_4paradigm/openmldb/sdk/utils/AIOSUtil.java 78.86% 13 Missing and 13 partials :warning:
...paradigm/openmldb/sdk/impl/SqlClusterExecutor.java 81.81% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3911 +/- ## ============================================ + Coverage 74.98% 75.19% +0.21% - Complexity 658 711 +53 ============================================ Files 751 752 +1 Lines 135067 135211 +144 Branches 1501 1535 +34 ============================================ + Hits 101276 101678 +402 + Misses 33503 33230 -273 - Partials 288 303 +15 ```

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

github-actions[bot] commented 6 months ago

Linux Test Report

    59 files     252 suites   1h 47m 55s :stopwatch: 13 509 tests 13 502 :white_check_mark: 7 :zzz: 0 :x: 19 181 runs  19 174 :white_check_mark: 7 :zzz: 0 :x:

Results for commit 30614059.

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