wjohnson/pyapacheatlas

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

Opened this issue · 1 comments

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.

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