AFAIK BigQueryIO supports Joda, not java.time (which gives compile error Unsupported type: java.time.LocalDateTime @com.spotify.scio.bigquery.types.BigQueryTag)
However, if a BigQuery entity contains a property with type org.joda.time.LocalDateTime:
saveAsTypedBigQueryTable with method = Method.STORAGE_WRITE_API works
- however the same with default method (
Method.DEFAULT) fails with:
"errorResult": {
"location": "query",
"message": "Field theDateTime has incompatible types. Configured schema: datetime; Avro file: string.",
"reason": "invalidQuery"
}