yirutang commented on code in PR #17778:
URL: https://github.com/apache/beam/pull/17778#discussion_r886165729
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProto.java:
##########
@@ -370,10 +376,20 @@ static Object singularFieldToProtoValue(
case "TIMESTAMP":
if (value instanceof String) {
try {
- return ChronoUnit.MICROS.between(Instant.EPOCH,
Instant.parse((String) value));
- } catch (DateTimeParseException e) {
- return ChronoUnit.MICROS.between(
+ // "12345667"
+ ChronoUnit.MICROS.between(
Review Comment:
Done, I thought long is more common.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]