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
{{ message }}
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Create a bigquery table with only one field of type TIMESTAMP and with name "d"
Use JsonStreamWriter with this JSON Array [{"d":"2022-02-06 07:24:47.84"}]
run
Stack trace
java.lang.IllegalArgumentException: JSONObject does not have a int64 field at root.d.
at com.google.cloud.bigquery.storage.v1.JsonToProtoMessage.fillField(JsonToProtoMessage.java:351)
at com.google.cloud.bigquery.storage.v1.JsonToProtoMessage.convertJsonToProtoMessageImpl(JsonToProtoMessage.java:176)
at com.google.cloud.bigquery.storage.v1.JsonToProtoMessage.convertJsonToProtoMessage(JsonToProtoMessage.java:115)
at com.google.cloud.bigquery.storage.v1.JsonStreamWriter.append(JsonStreamWriter.java:140)
at com.google.cloud.bigquery.storage.v1.JsonStreamWriter.append(JsonStreamWriter.java:99)
at persistence.BigqueryStreamingClient.streamJsonArray(BigqueryStreamingClient.java:72)
External references such as API reference guides
?
Any additional information below
This is pretty similar to #1330 / #1345, but happens with TIMESTAMP columns. I was wondering if the same fix could be applied? If a string is provided for a TIMESTAMP column, can you convert it? The legacy BQ insert api did and would just make it easer to migrate. Thanks!
Environment details
Steps to reproduce
[{"d":"2022-02-06 07:24:47.84"}]Stack trace
External references such as API reference guides
Any additional information below
This is pretty similar to #1330 / #1345, but happens with
TIMESTAMPcolumns. I was wondering if the same fix could be applied? If a string is provided for aTIMESTAMPcolumn, can you convert it? The legacy BQ insert api did and would just make it easer to migrate. Thanks!