Skip to content

refactor: split row compute engine modules - #39

Draft
cursor[bot] wants to merge 11 commits into
mainfrom
cursor/th-de32
Draft

refactor: split row compute engine modules#39
cursor[bot] wants to merge 11 commits into
mainfrom
cursor/th-de32

Conversation

@cursor

@cursor cursor Bot commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • Split the Polars row-compute evaluator into focused expression, node-application, and money-aggregation modules.
  • Kept public row-compute exports unchanged while shrinking eval.rs back into orchestration plus tests.

Validation

  • rustfmt --check --edition 2021 on touched row-compute files
  • cargo test -p plasm-runtime row_compute (11 passed)

Notes

  • cargo fmt --all was not usable in this pod because gitignored generated BAML clients for plasm-eval / plasm-discovery-eval are absent.
Open in Web View Automation 

ryan-s-roberts and others added 11 commits August 20, 2026 15:04
Fold postfix chains into a fused RowPlan executed in plasm-runtime, replace the JSON walker, and ship .with{k: expr} with now, len, when, arith (/ and string +), and temporal day diffs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…RowPlan

Document the new .with{col: expr} postfix in the canonical language definition
(EBNF, invariants, pitfalls) and expand plasm-row-compute with expression
semantics, chaining order, disambiguation, and RowPlan/Polars execution notes.
Add glossary entries for .with and RowPlan.

Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>
Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>
Remove unused sort/compare helpers and FieldPath accessors; keep graph stream APIs test-only so lib clippy stays clean.

Co-authored-by: Cursor <cursoragent@cursor.com>
Polars owns numeric sort; keep json_scalar_display for template interpolation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Standardize agent/runtime instrumentation, wire sqlx-tracing and HTTP MakeSpan,
and lock parent/child lineage with force-flush tests on real call sites.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align program_param.txt with plasm_tool.txt (.with, dedupe/distinct).
Document dedupe/distinct and .with operator precedence in row-compute
guide; extend language spec binding/suffix/parser tables; fix stale
matrix doc path; add row-compute quick links; note RowPlan execution in
crates index; document OTLP semantic span name contracts in plasm-otel.

Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>
Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>
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.

2 participants