You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that in the method _get_om_table_columns() in OpenMetadata/ingestion/src/metadata/ingestion/source/pipeline/openlineage/metadata.py the dataType for the columns is using directly what is written in the Openlineage message but it accepts only the dataType defined for OpenMetadata and not for the source.
Openlineage is sending INT64 which is not a proper value for a OM dataType defined in metadata.generated.schema.entity.data.table
To Reproduce
It is possible to reproduce the same error using an Openlineage message which has defined the facets.schema and columns with type like INT64 or FLOAT64 ect.
Screenshots or steps to reproduce
Send to a Kafka topic used for the Openlineage Integration a message like this one:
For example:
Expected behavior
A clear and concise description of what you expected to happen.
I expected tha tables with specific column types are properly ingested from Openlineage Integration.
In the method _get_om_table_columns() in OpenMetadata/ingestion/src/metadata/ingestion/source/pipeline/openlineage/metadata.py, a static method like ColumnTypeParser.get_column_type() should be used to retrieve the correct value
Affected module
Ingestion Framework
Describe the bug
The Openlineage Pipeline ingestion failed when a openlineage event describes a Bigquery table. The error raised is:
The issue is that in the method _get_om_table_columns() in OpenMetadata/ingestion/src/metadata/ingestion/source/pipeline/openlineage/metadata.py the dataType for the columns is using directly what is written in the Openlineage message but it accepts only the dataType defined for OpenMetadata and not for the source.
Openlineage is sending INT64 which is not a proper value for a OM dataType defined in metadata.generated.schema.entity.data.table
To Reproduce
It is possible to reproduce the same error using an Openlineage message which has defined the facets.schema and columns with type like INT64 or FLOAT64 ect.
Screenshots or steps to reproduce
Send to a Kafka topic used for the Openlineage Integration a message like this one:
For example:
Expected behavior
A clear and concise description of what you expected to happen.
I expected tha tables with specific column types are properly ingested from Openlineage Integration.
In the method _get_om_table_columns() in OpenMetadata/ingestion/src/metadata/ingestion/source/pipeline/openlineage/metadata.py, a static method like ColumnTypeParser.get_column_type() should be used to retrieve the correct value
Version:
openmetadata-ingestion[docker]==XYZ
]The text was updated successfully, but these errors were encountered: