mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-25 17:15:09 +00:00
fix(ingest/bigquery): map date types correctly (#10383)
This commit is contained in:
parent
704fb47d6b
commit
4c40a24d76
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user