소스 검색

[catalog] HUE-8857 return accurate owner from atlas entity

Weixia 6 년 전
부모
커밋
18bed68bd2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/metadata/src/metadata/catalog/atlas_client.py

+ 1 - 1
desktop/libs/metadata/src/metadata/catalog/atlas_client.py

@@ -101,7 +101,7 @@ class AtlasApi(Api):
       "original_name": atlas_entity['attributes'].get('name'),
       "originalDescription": None,
       "originalName": atlas_entity['attributes'].get('name'),
-      "owner": atlas_entity.get('owner'),
+      "owner": atlas_entity['attributes'].get('owner'),
       "parentPath": '', # Set below
       "properties": {}, # Set below
       "sourceType": '', # Set below