sql-machine-learning / sqlflow

Brings SQL and AI together.
https://sqlflow.org
Apache License 2.0
5.11k stars 703 forks source link

Fix runtime.pai submitter #3073

Closed typhoonzero closed 4 years ago

typhoonzero commented 4 years ago

Create result tables before the job is submitted.

codecov-io commented 4 years ago

Codecov Report

Merging #3073 into develop will increase coverage by 0.16%. The diff coverage is 65.35%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3073      +/-   ##
===========================================
+ Coverage    50.79%   50.96%   +0.16%     
===========================================
  Files          242      248       +6     
  Lines        17968    18354     +386     
===========================================
+ Hits          9127     9354     +227     
- Misses        8149     8305     +156     
- Partials       692      695       +3     
Impacted Files Coverage Δ
python/runtime/pai/create_result_table.py 0.00% <ø> (ø)
python/runtime/step/tensorflow/evaluate.py 32.85% <ø> (+0.42%) :arrow_up:
python/runtime/step/tensorflow/explain.py 26.31% <ø> (+4.61%) :arrow_up:
python/runtime/step/tensorflow/predict.py 22.64% <0.00%> (-1.44%) :arrow_down:
python/runtime/step/xgboost/predict.py 93.54% <0.00%> (+1.24%) :arrow_up:
python/runtime/step/xgboost/train.py 76.47% <ø> (ø)
python/runtime/tensorflow/explain.py 25.83% <ø> (+1.40%) :arrow_up:
python/runtime/pai/submitter_explain.py 24.71% <16.66%> (-0.93%) :arrow_down:
python/runtime/pai/submitter_evaluate.py 29.26% <20.00%> (-2.99%) :arrow_down:
python/runtime/pai/submitter_predict.py 26.41% <20.00%> (-3.14%) :arrow_down:
... and 30 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dd0a16a...02c61b1. Read the comment docs.