OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Search indexing failing illegal_argument_exception because of BigQuery label in YYYY-MM-DD format

Open mario-deriv opened this issue 2 years ago • 1 comments

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

  1. Create Bigquery table with label in this format, label_name: YYYY-MM-DD
  2. Ingest Bigquery metadata into OM, make sure includeTags setting is true, which is the default
  3. Run search indexing

Expected behavior

  1. Search indexing should not fail

Version:

  • OpenMetadata version: 1.4.0 and 1.4.5

mario-deriv avatar Jul 26 '24 14:07 mario-deriv

Image Image

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

sonika-shah avatar Aug 07 '25 04:08 sonika-shah