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

Stop adding aliases to render_limited output #749

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dbt-athena/src/dbt/adapters/athena/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class AthenaRelation(BaseRelation):
include_policy: Policy = field(default_factory=lambda: AthenaIncludePolicy())
s3_path_table_part: Optional[str] = None
detailed_table_type: Optional[str] = None # table_type option from the table Parameters in Glue Catalog
require_alias: bool = False

def render_hive(self) -> str:
"""
Expand Down
6 changes: 5 additions & 1 deletion dbt-athena/tests/functional/adapter/test_empty.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from dbt.tests.adapter.empty.test_empty import BaseTestEmpty
from dbt.tests.adapter.empty.test_empty import BaseTestEmpty, BaseTestEmptyInlineSourceRef


class TestAthenaEmpty(BaseTestEmpty):
pass


class TestAthenaEmptyInlineSourceRef(BaseTestEmptyInlineSourceRef):
pass