mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
fix(ingestion/redshift): fix schema field data type mappings
This commit is contained in:
parent
8a80e858a7
commit
b9508e6dd5
@ -218,6 +218,9 @@ class RedshiftSource(StatefulIngestionSourceBase, TestableSource):
|
||||
] = {
|
||||
"BYTES": BytesType,
|
||||
"BOOL": BooleanType,
|
||||
"BOOLEAN": BooleanType,
|
||||
"DOUBLE": NumberType,
|
||||
"DOUBLE PRECISION": NumberType,
|
||||
"DECIMAL": NumberType,
|
||||
"NUMERIC": NumberType,
|
||||
"BIGNUMERIC": NumberType,
|
||||
@ -244,6 +247,13 @@ class RedshiftSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"CHARACTER": StringType,
|
||||
"CHAR": StringType,
|
||||
"TIMESTAMP WITHOUT TIME ZONE": TimeType,
|
||||
"REAL": NumberType,
|
||||
"VARCHAR": StringType,
|
||||
"TIMESTAMPTZ": TimeType,
|
||||
"GEOMETRY": NullType,
|
||||
"HLLSKETCH": NullType,
|
||||
"TIMETZ": TimeType,
|
||||
"VARBYTE": StringType,
|
||||
}
|
||||
|
||||
def get_platform_instance_id(self) -> str:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user