Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit af46908

Browse files
committed
feat: use dbt-athena-community for athena profile
1 parent 4833190 commit af46908

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/actions/setup-local-fal/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ runs:
4242
# overwrite for specific adapters
4343
if [[ '${{ inputs.adapter }}' == 'athena' ]]
4444
then
45-
package=dbt-athena-adapter
45+
package=dbt-athena-community
4646
fi
4747
4848
if [[ '${{ inputs.dbt }}' == 'latest' ]]

.github/workflows/test_integration_cli.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,13 @@ jobs:
214214
dbt: "1.1.*"
215215
- profile: "fal"
216216
dbt: "1.2.*"
217-
# dbt-athena-adapter only supports dbt-core==1.0.* for now
217+
# dbt-athena-adapter only supports dbt-core>=1.3
218+
- profile: "athena"
219+
dbt: "1.0.*"
218220
- profile: "athena"
219221
dbt: "1.1.*"
220222
- profile: "athena"
221223
dbt: "1.2.*"
222-
- profile: "athena"
223-
dbt: "1.3.*"
224-
- profile: "athena"
225-
dbt: "1.4.*"
226224

227225
# Run only the latest commit pushed to PR
228226
concurrency:

projects/fal/src/fal/packages/dependency_analysis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _get_dbt_packages() -> Iterator[Tuple[str, Optional[str]]]:
3636
# the PyPI names instead of the import names). An example distribution info is the following, which
3737
# contains both the main exporter of the top-level name (dbt-core) as well as all the packages that
3838
# export anything to that namespace:
39-
# {"dbt": ["dbt-core", "dbt-postgres", "dbt-athena-adapter"]}
39+
# {"dbt": ["dbt-core", "dbt-postgres", "dbt-athena-community"]}
4040
#
4141
# This won't only include dbt.adapters.xxx, but anything that might export anything to the dbt namespace
4242
# (e.g. a hypothetical plugin that only exports stuff to dbt.includes.xxx) which in theory would allow us
@@ -90,7 +90,7 @@ def _find_fal_extras(package: str) -> Iterator[str]:
9090

9191
# This list is different from the one we obtain in _get_dbt_packages
9292
# since the names here are the actual import names, not the PyPI names
93-
# (e.g. this one will say athena, and the other one will say dbt-athena-adapter).
93+
# (e.g. this one will say athena, and the other one will say dbt-athena-community).
9494
available_dbt_adapters = {
9595
module_info.name
9696
for module_info in pkgutil.iter_modules(dbt.adapters.__path__)

0 commit comments

Comments
 (0)