Skip to content

Commit

Permalink
remove dash, use only last part of uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
guenp committed Dec 3, 2024
1 parent c92e2bd commit fb8e092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/duckdb/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class DuckDBAdapter(SQLAdapter):

# can be overridden via the model config metadata
_temp_schema_name = DEFAULT_TEMP_SCHEMA_NAME
_temp_schema_model_uuid: dict[str, UUID] = defaultdict(uuid4)
_temp_schema_model_uuid: dict[str, UUID] = defaultdict(lambda: str(uuid4()).split("-")[-1])

@classmethod
def date_function(cls) -> str:
Expand Down

0 comments on commit fb8e092

Please sign in to comment.