Repository navigation
refactor(data): share export query compilation and matching - #2432
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewBugs: None found. I compared the new Security: None found. No new input handling beyond the existing parser call, and no unwrap, panic, or unsafe code added in non-test code. Performance: None found. Quality:
AGENTS.md: No violations found in the changed files. The change adds no saved fields, so Prior reviews: None on this PR, so no earlier concerns were left alone. No inline comments were posted, since nothing rises above a nit. Change sizeCompared: the whole PR against main (merge base 26f4d2b to PR head 607397a).
|
|
The existing The |
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
Exports now compile definition queries through
data::rows::Query, completing export adoption of the shared query seam introduced in #2421. Its new chunk matcher delegates to the existingquery::eval_in_chunk, preserving source-wide@row_numbersemantics.Export callers retain whole-source traversal, writer replay counters, borrowed/owned row handling, progress, cancellation and notice delivery. Blank queries remain absent; unreadable queries retain all rows and report the parser error once. Format-loss counts still use kept rows.
This reaches layer export and Data Interop's file and text paths through their existing shared calls, including desktop, browser downloads, CLI, Python and phone callers. Command dispatch, ribbon, shortcuts, search, Assistant/MCP and plugins retain their existing interfaces. No saved fields or Undo state change; files can be reopened as before.
Testing
write_noticestests, including export fallback and Data Interop text/explicit-format paths.UI evidence
No visible UI change.
Related issue
Part of #2402. Follows #2417 and #2421.
Summary by CodeRabbit