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
Describe the bug
I have a table in Glue Metabase with two columns:
installments_installment_chargeback_refunds_chargeback_refund_payment_id
installments_installment_chargeback_refunds_chargeback_refund_payment_date
And during the ingestion I get the following error: Failed to ingest CreateTableRequest [***] due to api request failure: Column name installments_installment_chargeback_refunds_chargeback_refund_pa is repeated
To Reproduce
Create a table in Glue Metadata with a name longer than 64 characteres and with the same characteres at the begining 64 chars.
Run the ingestion process in Airfllow.
Expected behavior
Columns aren't repeated so the error shouldn't happen.
Affected module
Ingestion
Describe the bug
I have a table in Glue Metabase with two columns:
installments_installment_chargeback_refunds_chargeback_refund_payment_id
installments_installment_chargeback_refunds_chargeback_refund_payment_date
And during the ingestion I get the following error:
Failed to ingest CreateTableRequest [***] due to api request failure: Column name installments_installment_chargeback_refunds_chargeback_refund_pa is repeated
To Reproduce
Create a table in Glue Metadata with a name longer than 64 characteres and with the same characteres at the begining 64 chars.
Run the ingestion process in Airfllow.
Expected behavior
Columns aren't repeated so the error shouldn't happen.
Version:
Additional context
I have been checking the code and found the line where the column name is considered as just 64 chars:
https://github.com/open-metadata/OpenMetadata/blob/26db825b7195000c9a550cbec889f985a024ac97/ingestion/src/metadata/ingestion/source/database/glue/metadata.py#LL298C46-L298C48
I know it's not nice to keep increasing this number so maybe there is a way to deduplicate these column names in Column class.
What do you think?
The text was updated successfully, but these errors were encountered: