You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/it/ITBigQueryWriteManualClientTest.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@
39
39
importio.grpc.Status.Code;
40
40
importjava.io.IOException;
41
41
importjava.math.BigDecimal;
42
+
importjava.sql.Timestamp;
42
43
importjava.util.*;
43
44
importjava.util.concurrent.*;
44
45
importjava.util.concurrent.atomic.AtomicInteger;
@@ -339,12 +340,19 @@ public void testJsonStreamWriterWithDefaultStream()
339
340
.setMode(TableFieldSchema.Mode.REPEATED)
340
341
.setName("test_bytestring_repeated")
341
342
.build();
343
+
TableFieldSchemaTEST_TIMESTAMP =
344
+
TableFieldSchema.newBuilder()
345
+
.setName("test_timeStamp")
346
+
.setType(TableFieldSchema.Type.TIMESTAMP)
347
+
.setMode(TableFieldSchema.Mode.NULLABLE)
348
+
.build();
342
349
TableSchematableSchema =
343
350
TableSchema.newBuilder()
344
351
.addFields(0, TEST_STRING)
345
352
.addFields(1, TEST_DATE)
346
353
.addFields(2, TEST_NUMERIC)
347
354
.addFields(3, TEST_REPEATED_BYTESTRING)
355
+
.addFields(4, TEST_TIMESTAMP)
348
356
.build();
349
357
TableInfotableInfo =
350
358
TableInfo.newBuilder(
@@ -364,6 +372,9 @@ public void testJsonStreamWriterWithDefaultStream()
0 commit comments