Skip to content

fix: resolve Snowflake values columns - #714

Merged
chio-labs-delivery[bot] merged 1 commit into
mainfrom
fix/snowflake-values-binding
Sep 18, 2026
Merged

chio-labs-delivery[bot] merged 1 commit into
mainfrom
fix/snowflake-values-binding

Conversation

@kvlonge

@kvlonge kvlonge commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Why

Snowflake exposes unaliased VALUES fields as COLUMN1, COLUMN2, and so on. The native schema validator reported those valid direct projections as unknown whenever a complete project schema was supplied.

Changes

  • discard that native diagnostic only after AST evidence proves the exact unqualified direct projection and VALUES ordinal in the same SELECT scope
  • retain unknown-column findings for out-of-range ordinals, other relations, joins, aliases, quoted identifiers, and other dialects
  • add focused positive and negative schema-validation coverage

Verification

  • focused schema-validation tests: 9 passed
  • Ruff and Ty checks passed for touched files
  • Fensu passed
  • uv sync --all-extras
  • make check-ci
  • public-repository hygiene scan
  • cache-free static compile of the downstream 974-model project with the affected analysis boundary enabled: 0 errors, 0 warnings

@chio-labs-delivery
chio-labs-delivery Bot enabled auto-merge (squash) September 18, 2026 00:45
@chio-labs-delivery
chio-labs-delivery Bot merged commit 02a3f98 into main Sep 18, 2026
18 checks passed
@chio-labs-delivery
chio-labs-delivery Bot deleted the fix/snowflake-values-binding branch September 18, 2026 00:56
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.

1 participant