Skip to content

Fix: single blueprint edge case#4071

Merged
georgesittas merged 1 commit intomainfrom
jo/fix_single_blueprint
Apr 1, 2025
Merged

Fix: single blueprint edge case#4071
georgesittas merged 1 commit intomainfrom
jo/fix_single_blueprint

Conversation

@georgesittas
Copy link
Contributor

This model fails in main currently:

MODEL (
  name @foo.some_table,
  kind FULL,
  blueprints ((
      foo := bar
  ))
);

SELECT
  1 AS c

With the following error:

Error: Failed to load model definition at 'playground/models/test.sql'.
Expected a key-value mapping for the blueprint value, got 'foo := bar' instead at 'playground/models/test.sql'

This PR addresses this.

@georgesittas georgesittas requested a review from a team April 1, 2025 18:58
@georgesittas georgesittas merged commit 9a67826 into main Apr 1, 2025
22 checks passed
@georgesittas georgesittas deleted the jo/fix_single_blueprint branch April 1, 2025 23:03
afzaljasani pushed a commit that referenced this pull request Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants