Skip to content

Commit 945e04a

Browse files
Cleanup: fix duckdb version + remove accidental commenting (#1856)
There appears to be some issues with the latest duckdb version, so pinning to a lower version. Also removes a some commenting that was accidentally merged in a previous commit.
1 parent 6548867 commit 945e04a

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

requirements-files/dev-env-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ dbt-core>=1.10.4, <1.11.0
77
dbt-duckdb>=1.8.0, <1.9.0
88
# Excluding 1.2.1 due to window functions returning incorrect results:
99
# https://github.com/duckdb/duckdb/issues/16617
10-
duckdb !=1.2.1
10+
# Version 1.4.0 seems to have issues as well, so pinning to <1.4.0 until those are resolved.
11+
duckdb !=1.2.1, <1.4.0

tests_metricflow/generate_snapshots.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -81,34 +81,34 @@ class MetricFlowTestCredentialSetForAllEngines(FrozenBaseModel): # noqa: D101
8181
@property
8282
def as_configurations(self) -> Sequence[MetricFlowEngineConfiguration]: # noqa: D102
8383
return (
84-
# MetricFlowEngineConfiguration(
85-
# engine=SqlEngine.DUCKDB,
86-
# credential_set=self.duck_db,
87-
# ),
88-
# MetricFlowEngineConfiguration(
89-
# engine=SqlEngine.REDSHIFT,
90-
# credential_set=self.redshift,
91-
# ),
92-
# MetricFlowEngineConfiguration(
93-
# engine=SqlEngine.SNOWFLAKE,
94-
# credential_set=self.snowflake,
95-
# ),
96-
# MetricFlowEngineConfiguration(
97-
# engine=SqlEngine.BIGQUERY,
98-
# credential_set=self.big_query,
99-
# ),
84+
MetricFlowEngineConfiguration(
85+
engine=SqlEngine.DUCKDB,
86+
credential_set=self.duck_db,
87+
),
88+
MetricFlowEngineConfiguration(
89+
engine=SqlEngine.REDSHIFT,
90+
credential_set=self.redshift,
91+
),
92+
MetricFlowEngineConfiguration(
93+
engine=SqlEngine.SNOWFLAKE,
94+
credential_set=self.snowflake,
95+
),
96+
MetricFlowEngineConfiguration(
97+
engine=SqlEngine.BIGQUERY,
98+
credential_set=self.big_query,
99+
),
100100
MetricFlowEngineConfiguration(
101101
engine=SqlEngine.DATABRICKS,
102102
credential_set=self.databricks,
103103
),
104-
# MetricFlowEngineConfiguration(
105-
# engine=SqlEngine.POSTGRES,
106-
# credential_set=self.postgres,
107-
# ),
108-
# MetricFlowEngineConfiguration(
109-
# engine=SqlEngine.TRINO,
110-
# credential_set=self.trino,
111-
# ),
104+
MetricFlowEngineConfiguration(
105+
engine=SqlEngine.POSTGRES,
106+
credential_set=self.postgres,
107+
),
108+
MetricFlowEngineConfiguration(
109+
engine=SqlEngine.TRINO,
110+
credential_set=self.trino,
111+
),
112112
)
113113

114114

0 commit comments

Comments
 (0)