full-dentist-68591
03/23/2022, 8:36 AMSchemaFieldDataTypeClass
in SchemaFieldClass
when creating a dataset?
I have a xml export of an ETL job and trying to ingest table defintions into DataHub from this file. In order to select the right data types for the columns I need some sort of mapping (e.g. VARCHAR -> StringTypeClass).orange-night-91387
03/23/2022, 4:17 PMfull-dentist-68591
03/24/2022, 8:24 AMfull-dentist-68591
03/30/2022, 1:47 PM_field_type_mapping
or call get_column_type
. Whatever I tried resulted in NullTypeClass
Thanks in advance!orange-night-91387
03/30/2022, 3:52 PMget_column_type
gets used in get_schema_fields_for_column
, here is an example usage for the hive pipeline:
https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/source/sql/hive.py#L66