Skip to content

Commit

Permalink
[HOPSWORKS-1017] Date in field "feature store created" is NaN (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Limmen authored and tkakantousis committed Apr 3, 2019
1 parent 5c2b15f commit 8f3d401
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import javax.ejb.EJB;
import javax.ejb.Stateless;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
Expand Down Expand Up @@ -139,6 +140,7 @@ public Featurestore createProjectFeatureStore(Project project, String featuresto
Featurestore featurestore = new Featurestore();
featurestore.setProject(project);
featurestore.setHiveDbId(hiveDbId);
featurestore.setCreated(new Date());
featurestoreFacade.persist(featurestore);
activityFacade.persistActivity(ActivityFacade.CREATED_FEATURESTORE +
featurestoreName, project, project.getOwner(), ActivityFacade.ActivityFlag.SERVICE);
Expand Down

0 comments on commit 8f3d401

Please sign in to comment.