fix(ingest/bigquery): map date types correctly (#10383)

This commit is contained in:
Harshal Sheth 2024-04-25 13:22:37 -07:00 committed by GitHub
parent 704fb47d6b
commit 4c40a24d76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,6 +106,7 @@ from datahub.metadata.com.linkedin.pegasus2avro.schema import (
ArrayType,
BooleanType,
BytesType,
DateType,
MySqlDDL,
NullType,
NumberType,
@ -188,6 +189,7 @@ class BigqueryV2Source(StatefulIngestionSourceBase, TestableSource):
RecordType,
StringType,
TimeType,
DateType,
NullType,
]
],
@ -209,10 +211,10 @@ class BigqueryV2Source(StatefulIngestionSourceBase, TestableSource):
"STRING": StringType,
"TIME": TimeType,
"TIMESTAMP": TimeType,
"DATE": TimeType,
"DATE": DateType,
"DATETIME": TimeType,
"GEOGRAPHY": NullType,
"JSON": NullType,
"JSON": RecordType,
"INTERVAL": NullType,
"ARRAY": ArrayType,
"STRUCT": RecordType,