Skip to content

Preserve Snowflake stage batch delimiters alongside RELY - #193

Merged
osipovartem merged 2 commits into
fix/schema-modifiers-parser-pin-20261113from
fix/return-rows-parser-pin-20261125
Nov 25, 2026
Merged

osipovartem merged 2 commits into
fix/schema-modifiers-parser-pin-20261113from
fix/return-rows-parser-pin-20261125

Conversation

@osipovartem

@osipovartem osipovartem commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Rustice consumes the DataFusion line at d935c23e. Its sqlparser pin has RELY/NORELY but consumes the delimiter in Snowflake stage batches. Pin the merged parser #55, retaining RELY and the current Quinn changes. This unblocks the dependency composition for Rustice #1287.

The first hosted audit caught inherited RUSTSEC-2026-0592. Update url to 2.5.9 and its required form_urlencoded to 1.2.3, without adding an audit ignore.

Verification

  • Locked offline resolution uses one sqlparser/derive revision (84d47720). The composed Rustice graph also resolves one DataFusion/parser pair and preserves its Quinn versions.

  • Standalone A/B: the old parser rejects four stage-command-plus-SELECT batches (LIST, load, unload and RETURN_ROWS); the new parser parses both statements and preserves typed RELY/NORELY.

  • On the frozen older Rustice daemon, the stock connector reproduces the LIST, unload and preview batch failures in both JSON and Arrow sessions.

  • Added a DataFusion-owned regression covering all four batch forms and rejecting a malformed suffix. Independent local module check of the actual parser.rs at b7ce36ac: old sqlparser passed 32/33 and failed only the new regression at the SELECT after LIST; the new pin passed 33/33, including the four batch forms and the RELY controls. It reused cached Rustice externs, so it does not qualify the full Cargo workspace, updated URL dependencies, or downstream Rustice runtime.

  • Hosted security audit passed at b7ce36ac.

  • All 41 hosted checks passed at b7ce36ac, including workspace tests, Clippy and doctests and extended tests and SQLite SQLLogicTests. Independent review approved the exact head against d935c23e.

This qualifies the DataFusion dependency change, not the composed Rustice engine or the RETURN_ROWS implementation.

@github-actions github-actions Bot added the sql label Nov 25, 2026
@osipovartem osipovartem changed the title Pin Snowflake COPY delimiters alongside constraint RELY Preserve Snowflake stage batch delimiters alongside RELY Nov 25, 2026
@osipovartem
osipovartem marked this pull request as ready for review November 25, 2026 21:21
@osipovartem
osipovartem merged commit cb7f7b5 into fix/schema-modifiers-parser-pin-20261113 Nov 25, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant