Fix #5234 ES ingestion failure on Glossary Term. (#5236)

Co-authored-by: Filip Rembiałkowski <filip.rembialkowski@gmail.com>
This commit is contained in:
Filip Rembiałkowski 2022-05-31 15:38:33 +02:00 committed by GitHub
parent 474ef0826a
commit a5055a5585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -552,9 +552,9 @@ class ElasticsearchSink(Sink[Entity]):
glossary_term_doc = GlossaryTermESDocument(
glossary_term_id=str(glossary_term.id.__root__),
deleted=glossary_term.deleted,
name=glossary_term.name.__root__,
name=str(glossary_term.name.__root__),
display_name=glossary_term.displayName,
fqdn=glossary_term.fullyQualifiedName,
fqdn=str(glossary_term.fullyQualifiedName.__root__),
description=description,
glossary_id=str(glossary_term.glossary.id.__root__),
glossary_name=glossary_term.glossary.name,