From 5e03a9fabc4b8b7c1838a13bdc05119cb86ae528 Mon Sep 17 00:00:00 2001 From: Sean Glynn Date: Wed, 20 Apr 2022 09:41:13 +0100 Subject: [PATCH] Changing ts type --- target_bigquery/db_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_bigquery/db_sync.py b/target_bigquery/db_sync.py index c2a47aa..e1b6f75 100644 --- a/target_bigquery/db_sync.py +++ b/target_bigquery/db_sync.py @@ -131,7 +131,7 @@ def column_type_avro(name, schema_property): elif property_format == 'date-time': result_type = { 'type': 'long', - 'logicalType': 'timestamp-millis'} + 'logicalType': 'timestamp-micros'} elif property_format == 'time': result_type = { 'type': 'int',