Skip to content

Snowflake: parse MATCH_RECOGNIZE window semantics - #28

Merged
osipovartem merged 1 commit into
embucket-sync-df55.0.0from
df55-match-recognize-window-semantics
Sep 15, 2026
Merged

osipovartem merged 1 commit into
embucket-sync-df55.0.0from
df55-match-recognize-window-semantics

Conversation

@osipovartem

Copy link
Copy Markdown

What does this PR do?

Preserves explicit RUNNING and FINAL window semantics on expressions in a MATCH_RECOGNIZE MEASURES clause.

For example, FINAL LAST(price) is now represented directly in the Measure AST and round-trips without dropping FINAL. Measures without an explicit modifier retain None, so existing syntax is unchanged.

Snowflake documents the syntax and frame behavior in the MATCH_RECOGNIZE navigational functions reference.

Tests

  • cargo +1.95.0 test --offline --all-features match_recognize
  • cargo +1.95.0 test --offline --all-features
  • cargo +1.95.0 clippy --offline --all-targets --all-features -- -D warnings
  • cargo +1.95.0 fmt --all -- --check

@osipovartem
osipovartem merged commit ec70251 into embucket-sync-df55.0.0 Sep 15, 2026
19 checks passed
@osipovartem
osipovartem deleted the df55-match-recognize-window-semantics branch September 15, 2026 09:27
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