feat(athena): first-class AWS Athena warehouse identity (SL + BI mapping) (#332)

* feat: support Athena warehouse identity

* fix: support Athena and DuckDB BI table parsing
This commit is contained in:
Andrey Avtomonov 2026-07-02 15:10:29 +02:00 committed by GitHub
parent fe7e6bd1fa
commit f310391da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 252 additions and 45 deletions

View file

@ -23,6 +23,16 @@ def test_parse_table_identifier_supported_dialects_and_aliases() -> None:
sql_table_name="RAW.PUBLIC.ORDERS",
dialect="snowflake",
),
ParseTableIdentifierItem(
key="athena",
sql_table_name="analytics.orders",
dialect="athena",
),
ParseTableIdentifierItem(
key="duckdb",
sql_table_name="analytics.orders",
dialect="duckdb",
),
]
)
@ -37,6 +47,14 @@ def test_parse_table_identifier_supported_dialects_and_aliases() -> None:
assert response["sf"].catalog == "RAW"
assert response["sf"].schema_ == "PUBLIC"
assert response["sf"].name == "ORDERS"
assert response["athena"].ok is True
assert response["athena"].schema_ == "analytics"
assert response["athena"].name == "orders"
assert response["athena"].canonical_table == "analytics.orders"
assert response["duckdb"].ok is True
assert response["duckdb"].schema_ == "analytics"
assert response["duckdb"].name == "orders"
assert response["duckdb"].canonical_table == "analytics.orders"
def test_parse_table_identifier_rejects_non_physical_inputs() -> None: