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 <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 Oct 4, 2022
1 parent f80f05f commit 12e1a8f
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 12e1a8f

Please sign in to comment.