yirutang commented on code in PR #17404:
URL: https://github.com/apache/beam/pull/17404#discussion_r862231483
##########
sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProtoTest.java:
##########
@@ -483,10 +484,10 @@ public void testNestedFromTableSchema() {
.put("floatvalue", (double) 2.817)
.put("boolvalue", true)
.put("booleanvalue", true)
- .put("timestampvalue", "43")
- .put("timevalue", "00:52:07[.123]|[.123456] UTC")
- .put("datetimevalue", "2019-08-16 00:52:07[.123]|[.123456] UTC")
- .put("datevalue", "2019-08-16")
+ .put("timestampvalue", 43L)
+ .put("timevalue", "00:52:07.123456")
+ .put("datetimevalue", "2019-08-16T00:52:07.123456")
+ .put("datevalue", (int) LocalDate.parse("2019-08-16").toEpochDay())
.put("numericvalue", "23.4")
Review Comment:
Could we test repeated byte string? I always had some problems with it.
--
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]