Skip to content

Commit

Permalink
fix: Stream feature view meta undefined created_timestamp issue (#3266)
Browse files Browse the repository at this point in the history
fix stream feature view meta undefied created_timestap issue

Signed-off-by: hao-affirm <104030690+hao-affirm@users.noreply.github.com>

Signed-off-by: hao-affirm <104030690+hao-affirm@users.noreply.github.com>
  • Loading branch information
hao-affirm authored and kevjumba committed Oct 6, 2022
1 parent 3102b44 commit efbd4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/parsers/feastSFVS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const FeastSFVSchema = z.object({
}),
}),
meta: z.object({
createdTimestamp: z.string().transform((val) => new Date(val)),
lastUpdatedTimestamp: z.string().transform((val) => new Date(val)),
createdTimestamp: z.string().transform((val) => new Date(val)).optional(),
lastUpdatedTimestamp: z.string().transform((val) => new Date(val)).optional(),
}),
});

Expand Down

0 comments on commit efbd4b0

Please sign in to comment.