Hi all, when using a custom transformer, is there ...
# ingestion
f
Hi all, when using a custom transformer, is there a way to retrieve the name of the current entity in the
transform_aspect()
method?
c
Are you using same transformer to process different types of entities? If not you can call entity_types()[0]. Ref. In case there are multiple entities, you can decode "entity_urn" parameter of transform_aspect() to get entity type. Urns generally start with below pattern "urnlidataset.......", "urnlidataPlatform....."
f
Thanks for your reply @careful-pilot-86309 ! In this instance, calling entity_types would return the type of the entity but I would like to get the name of the table being processed.
c
That also u can get from entity_urn