Skip to content

Commit

Permalink
Training Dataset set Id from backend after creation (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzmeister committed Sep 28, 2020
1 parent 7f938f1 commit 9987a1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void save(TrainingDataset trainingDataset, Dataset<Row> dataset,
// Update the original object - Hopsworks returns the full location and incremented version
trainingDataset.setLocation(apiTD.getLocation());
trainingDataset.setVersion(apiTD.getVersion());
trainingDataset.setId(apiTD.getId());

// Build write options map
Map<String, String> writeOptions =
Expand Down

0 comments on commit 9987a1f

Please sign in to comment.