Skip to content

Commit

Permalink
fix: Stream feature view meta undefined created_timestamp issue (feas…
Browse files Browse the repository at this point in the history
…t-dev#3266)

fix stream feature view meta undefied created_timestap issue

Signed-off-by: hao-affirm <[email protected]>

Signed-off-by: hao-affirm <[email protected]>
  • Loading branch information
hao-affirm authored and franciscojavierarceo committed Oct 4, 2022
1 parent b7fa070 commit 347d4a2
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 347d4a2

Please sign in to comment.