Skip to content

Commit

Permalink
Fix java type for event_time
Browse files Browse the repository at this point in the history
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
  • Loading branch information
velo committed Dec 4, 2024
1 parent 6bc0452 commit 64e3c13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public DataFetcher<?> visit(KafkaMutationCoords coords, Context context) {
.onSuccess(sinkResult->{
//Add timestamp from sink to result
ZonedDateTime dateTime = ZonedDateTime.ofInstant(sinkResult.getSourceTime(), ZoneOffset.UTC);
entry.put(ReservedName.MUTATION_TIME.getCanonical(), dateTime.toLocalDateTime());
entry.put(ReservedName.MUTATION_TIME.getCanonical(), dateTime.toOffsetDateTime());

fut.complete(entry);
})
Expand Down

0 comments on commit 64e3c13

Please sign in to comment.