goutamadwant commented on code in PR #40119:
URL: https://github.com/apache/beam/pull/40119#discussion_r4730105944


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryUtils.java:
##########
@@ -936,7 +955,19 @@ public static Row toBeamRow(Schema rowSchema, TableSchema 
bqSchema, TableRow jso
           long nanos = (micros % 1_000_000) * 1_000;
           return java.time.Instant.ofEpochSecond(seconds, nanos);
         } catch (NumberFormatException e) {
-          return java.time.Instant.parse(jsonBQString);
+          try {
+            return java.time.Instant.parse(jsonBQString);
+          } catch (DateTimeParseException e2) {
+            try {

Review Comment:
   The parser update is up in `5629376`. It checks for ` T` before the 
space-separated UTC form, with ISO and integer-microsecond inputs unchanged. 
The focused Gradle tests passed locally, including the Storage Write API 
failed-row cases in batch and both streaming modes.



-- 
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]

Reply via email to