The conclusions obtained by adding new tag in the ...
# all-things-deployment
f
The conclusions obtained by adding new tag in the two ways are inconsistent,One is through: https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/examples/library/dataset_add_tag.py , The other is through UI, The first type does not exist in the database.
b
what do you mean by "The first type does not exist in the database."
you mean you query for the entity in mySQL, like "select * from metadata_aspect v2 where urn="urnlitag:somethinthatiinsertedviapython""?
f
Yes, the first method will not be created in the database ,like "select * from metadata_aspect v2 where urn="urnlitag:somethinthatiinsertedviapython"
b
You would have to create a new tag entity and emit to gms, which is not done in the example code
f
How can the sample code succeed without creating a new tag? Will it not be verified
There are no errors, the function is normal, and you can search🤣
b
based on my usage, the system optimistically accepts tags and terms (and probably domains) as long as the urn is valid format. you just can't search for it via the UI in those cases
f
It is possible to search.My version 0.8.41.If there are many tag and trem, which are not well managed, verify whether they exist every time
b
hmm good to know👍
f
If there are many tags, how do you manage them
b
I dont have that problem... yet.
i believe the search filters can show up to 10k tags? based on a past conversation which is probably gone :S
f
Is action used,Do you have any comments??
b
what action?
f
yes actions
b
i don't understand what action are you referring to
f
b
i am unable to see how Actions is related to this conversation...? Also have not really used it
f
Relationship between urn and aspect

https://files.slack.com/files-pri/TUMKD5EGJ-F03UFK3FCEB/_____________2022-08-24_100219.png

b
urn is the key to identify entity aspect holds different attributes for the entity
f
thank you😄