Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I return the entity through PurviewClient.get_entity if the qualifiedName value has spaces in it? #286

Open
manishgonsalves opened this issue Mar 14, 2024 · 1 comment
Labels
purview question A question more about Purview and less about PyApacheAtlas

Comments

@manishgonsalves
Copy link

What is your desired outcome
When calling the PurviewClient.get_entity with qualifiedname and typeName, the method should return the entity even if the qualifiedname has space in it. Having a space in the qualifiedname parameter should still return the entity

What have you tried so far
Tried to escape the space character with , %20 and using string.format

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • PyApacheAtlas Version (python -m pyapacheatlas --version): 0.16.0

Additional context
Add any other context about the problem here.

@manishgonsalves manishgonsalves added the purview question A question more about Purview and less about PyApacheAtlas label Mar 14, 2024
@manishgonsalves manishgonsalves changed the title Return the entity through PurviewClient.get_entity if the qualifiedName value has spaces in it? How do I return the entity through PurviewClient.get_entity if the qualifiedName value has spaces in it? Mar 14, 2024
@yifan-zhou922
Copy link

yifan-zhou922 commented Apr 2, 2024

Having the same issue here. It seems to be a bug when getting the entity using qualified name which contains spaces.
image

From the service log, the spaces are wrongly transformed into "+"
ReceiveRequest|GET|http://{endpoint}/api/atlas/v2/entity/bulk/uniqueAttribute/type/hive_view_column?attr_0%3AqualifiedName=silver_core.v_sto_model.AS+Login%40adb-854006071954937.17.azuredatabricks.net&ignoreRelationships=False&minExtInfo=False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
purview question A question more about Purview and less about PyApacheAtlas
Projects
None yet
Development

No branches or pull requests

2 participants