Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d39123b
ci: publish docker images for Python 3.13
axellpadilla Sep 29, 2025
3a2831a
ci: add Python 3.13 to workflows; add Python 3.13 classifier
axellpadilla Sep 29, 2025
cd9bf62
Initial python changes for removing dbt-fabric dependency in dbt-sqls…
Benjamin-Knight Jan 5, 2026
28b0833
Fix up some pylance warnings.
Benjamin-Knight Jan 5, 2026
19c32a1
Initial work at porting over the macros from fabric
Benjamin-Knight Jan 5, 2026
ace259d
Fix misconfigured credentials authenication type
Benjamin-Knight Jan 5, 2026
1b2cc59
Move all snapshot macros to the same folder naming as fabric
Benjamin-Knight Jan 5, 2026
c77fc48
Fix loss of data type handling on microbatching
Benjamin-Knight Jan 5, 2026
5801ae2
feat: Allow optional thread count parameter for functional tests
Benjamin-Knight Jan 5, 2026
26838e5
Update the functional tests to let the user specify the thread count …
Benjamin-Knight Jan 5, 2026
a55d29c
Add more of the fabric functional tests that were not present in the …
Benjamin-Knight Jan 5, 2026
81f64a7
Add python 3.13 potential support
Benjamin-Knight Jan 5, 2026
25f548e
Add python 3.13 to more required locations.
Benjamin-Knight Jan 5, 2026
c807b9d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 5, 2026
df8ddb8
Update some missing pre-commit checks
Benjamin-Knight Jan 5, 2026
073d0b2
Fix an issue with the snapshot tests using escaping that SQL server d…
Benjamin-Knight Jan 6, 2026
c9f910b
Remove a few more references to fabric and a readme that is no longer…
Benjamin-Knight Jan 7, 2026
fc5c77c
Merge pull request #625 from axellpadilla/ci/python-3.13-workflows
cody-scott Jan 29, 2026
cad8e80
Merge branch 'master' into remove_fabric_dependency
Benjamin-Knight Jan 29, 2026
a68d0da
Fix the duplication of some tests because this update moved them comp…
Benjamin-Knight Jan 30, 2026
c3bd28f
Remove materialization no longer required
Benjamin-Knight Feb 2, 2026
e4754c7
Remove old python versions from setup.py
Benjamin-Knight Feb 11, 2026
cb773fe
Add behaviour flag for schema name generation due to deviation from D…
Benjamin-Knight Mar 4, 2026
1d30b38
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 4, 2026
d01bb95
Merge pull request #15 from Benjamin-Knight/remove_fabric_dependency
axellpadilla Mar 12, 2026
7b2aac6
✨ Mejora: Agregar fixture y actualizar la limpieza de la base de dat…
axellpadilla Mar 12, 2026
51acb26
Merge branch 'patched' into fix/test-fixes-remove-dbt-patched
axellpadilla Mar 12, 2026
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
20 changes: 18 additions & 2 deletions tests/functional/adapter/dbt/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import pytest
from dbt.tests.adapter.utils import fixture_cast_bool_to_text, fixture_dateadd, fixture_listagg
from dbt.tests.adapter.utils import (
fixture_cast_bool_to_text,
fixture_dateadd,
fixture_listagg,
fixture_split_part,
)
from dbt.tests.adapter.utils.test_any_value import BaseAnyValue
from dbt.tests.adapter.utils.test_array_append import BaseArrayAppend
from dbt.tests.adapter.utils.test_array_concat import BaseArrayConcat
Expand Down Expand Up @@ -340,7 +345,18 @@ class TestSafeCast(BaseSafeCast):


class TestSplitPart(BaseSplitPart):
pass
@pytest.fixture(scope="class")
def models(self):
model_sql = """
-- depends_on: {{ ref('data_split_part') }}
""" + self.interpolate_macro_namespace(
fixture_split_part.models__test_split_part_sql, "split_part"
)

return {
"test_split_part.yml": fixture_split_part.models__test_split_part_yml,
"test_split_part.sql": model_sql,
}


class TestStringLiteral(BaseStringLiteral):
Expand Down
10 changes: 9 additions & 1 deletion tests/functional/adapter/mssql/test_cross_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ def create_secondary_db(self, project):
)

def cleanup_secondary_database(self, project):
drop_sql = "DROP DATABASE IF EXISTS secondary_db"
drop_sql = """
USE [master]

IF EXISTS (SELECT * FROM sys.databases WHERE name = 'secondary_db')
BEGIN
ALTER DATABASE [secondary_db] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DROP DATABASE [secondary_db]
END
"""
with get_connection(project.adapter):
project.adapter.execute(
drop_sql.format(database=project.database),
Expand Down
Loading