Skip to content

feat: parse Snowflake directed joins - #26

Merged
osipovartem merged 1 commit into
embucket-sync-df55.0.0from
snowflake-directed-join
Sep 13, 2026
Merged

osipovartem merged 1 commit into
embucket-sync-df55.0.0from
snowflake-directed-join

Conversation

@osipovartem

Copy link
Copy Markdown

Summary

  • add a Snowflake-only AST flag for the DIRECTED join-order directive
  • parse and round-trip INNER, LEFT, RIGHT, FULL, CROSS, and NATURAL ... DIRECTED JOIN
  • reject DIRECTED without an explicit join type and keep the syntax disabled in other dialects

This preserves the directive in the AST so downstream planners can enforce authored join order without introducing row-level execution work.

Validation

  • cargo +1.95.0 fmt --all -- --check
  • CARGO_NET_OFFLINE=true cargo +1.95.0 test --all-targets
  • CARGO_NET_OFFLINE=true cargo +1.95.0 clippy --all-targets -- -D warnings

@osipovartem
osipovartem merged commit 22f5c7f into embucket-sync-df55.0.0 Sep 13, 2026
19 checks passed
@osipovartem
osipovartem deleted the snowflake-directed-join branch September 13, 2026 20:19
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