Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
tests (#59)
Browse files Browse the repository at this point in the history
* tests

* update sql
  • Loading branch information
Ben Epstein authored Sep 15, 2020
1 parent 411f618 commit 1ed899b
Show file tree
Hide file tree
Showing 5 changed files with 19,786 additions and 3 deletions.
8 changes: 5 additions & 3 deletions releases/mlmanager_2.3.0-k8.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ALTER TABLE MLMANAGER.ARTIFACTS ADD COLUMN DATABASE_BINARY BLOB(2G);
UPDATE MLMANAGER.ARTIFACTS SET DATABASE_BINARY=
SELECT a.MODEL FROM MLMANAGER.MODELS a join MLMANAGER.TAGS t on a.run_uuid=t.run_uuid and a.name=t."value"
where t."key"='splice.model_name';
insert into MLMANAGER.ARTIFACTS (run_uuid, name, database_binary, "size", "binary", FILE_EXTENSION) --splice-properties insertMode=UPSERT
select a.run_uuid, b.name, a.model, b."size", b."binary", b.file_extension from mlmanager.models a
join mlmanager.tags t on a.run_uuid=t.run_uuid
join mlmanager.artifacts b on b.name=t."value" and b.run_uuid=t.run_uuid
where t."key" = 'splice.model_name';
Loading

0 comments on commit 1ed899b

Please sign in to comment.