OpenMetadata
OpenMetadata copied to clipboard
Search indexing failing illegal_argument_exception because of BigQuery label in YYYY-MM-DD format
Affected module Search Indexing
Describe the bug
Search indexing is failing with illegal_argument_exception when bigquery label is in format label_name: YYYY-MM-DD.
[message]: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=mapper [tags.name] cannot be changed from type [text] to [date]]]
After deleting the tags in OM side. The search indexing completes successfully.
To Reproduce
- Create Bigquery table with label in this format,
label_name: YYYY-MM-DD - Ingest Bigquery metadata into OM, make sure
includeTagssetting is true, which is the default - Run search indexing
Expected behavior
- Search indexing should not fail
Version:
- OpenMetadata version: 1.4.0 and 1.4.5
Closing ticket. not reproducible in latest versions 1.8.x , the tags.name is deprecated field, we have tags.tagFQN. Please check that the searchReindexing is done , after upgrade to latest version with recreate=true