Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Grove <[email protected]>
  • Loading branch information
andygrove committed Nov 1, 2023
1 parent 9e982b3 commit e7a1c13
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,10 @@ object GpuCast {

private def castTimestampToJson(input: ColumnView): ColumnVector = {
withResource(input.castTo(DType.TIMESTAMP_MILLISECONDS)) { millis =>
// we fall back to CPU if the JSON timezone is not `Z`, so it is safe
// to hard-code it here
// we fall back to CPU if the JSON timezone is not UTC, so it is safe
// to hard-code `Z` here for now, but we should really add a timestamp
// format to CastOptions when we add support for custom formats in
// https://github.com/NVIDIA/spark-rapids/issues/9602
millis.asStrings("%Y-%m-%dT%H:%M:%S.%3fZ")
}
}
Expand Down

0 comments on commit e7a1c13

Please sign in to comment.