Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20250821-092532.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: No-op when project-level `quoting.snowflake_ignore_case` is set.
time: 2025-08-21T09:25:32.049328307+02:00
custom:
Author: aksestok
Issue: "11882"
2 changes: 2 additions & 0 deletions core/dbt/contracts/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Quoting(dbtClassMixin, Mergeable):
database: Optional[bool] = None
project: Optional[bool] = None
identifier: Optional[bool] = None
snowflake_ignore_case: Optional[bool] = None


@dataclass
Expand Down Expand Up @@ -396,6 +397,7 @@ class ConfiguredQuoting(Quoting):
schema: bool = True
database: Optional[bool] = None
project: Optional[bool] = None
snowflake_ignore_case: Optional[bool] = None


@dataclass
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/config/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_all_overrides(self):
"asset-paths": ["other-assets"],
"clean-targets": ["another-target"],
"packages-install-path": "other-dbt_packages",
"quoting": {"identifier": False},
"quoting": {"identifier": False, "snowflake_ignore_case": True},
"models": {
"pre-hook": ["{{ logging.log_model_start_event() }}"],
"post-hook": ["{{ logging.log_model_end_event() }}"],
Expand Down Expand Up @@ -214,7 +214,7 @@ def test_all_overrides(self):
self.assertEqual(project.asset_paths, ["other-assets"])
self.assertEqual(project.clean_targets, ["another-target"])
self.assertEqual(project.packages_install_path, "other-dbt_packages")
self.assertEqual(project.quoting, {"identifier": False})
self.assertEqual(project.quoting, {"identifier": False, "snowflake_ignore_case": True})
self.assertEqual(
project.models,
{
Expand Down
Loading