Skip to content

Commit

Permalink
bug: View recognition in Atlas Proxy (#173)
Browse files Browse the repository at this point in the history
Signed-off-by: mgorsk1 <[email protected]>
  • Loading branch information
mgorsk1 authored Aug 25, 2020
1 parent 6258ae2 commit 8d0eb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata_service/proxy/atlas_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def get_table(self, *, table_uri: str) -> Table:

reports_guids = [report.get("guid") for report in attrs.get("reports") or list()]

is_view = True if attrs.get('tableType', '').lower().find('view') != -1 else False
is_view = True if attrs.get('tableType', 'table').lower().find('view') != -1 else False

table = Table(
database=table_details.get('typeName'),
Expand Down

0 comments on commit 8d0eb48

Please sign in to comment.