DB Tsai created SPARK-61651:
-------------------------------

             Summary: Separate unresolved Rust client expression payloads from 
structural inputs
                 Key: SPARK-61651
                 URL: https://issues.apache.org/jira/browse/SPARK-61651
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: connect-rust-4.3.0
            Reporter: DB Tsai


The Rust client's shared expression enum keeps expression inputs in 
operator-specific payload fields. Generic traversal and rebuilding must repeat 
every operator layout.

Follow SPARK-61507 / PR #549 by representing an immutable expression node with 
a separate operator kind, ordered shared expression inputs, declared type state 
and construction origin. Add checked construction/rebuilding, unique and 
occurrence traversal, and an iterative memoized bottom-up rewrite. Retain the 
old typed construction helpers through ExpressionSpec.

Preserve Connect wire and rendering semantics, request depth accounting, window 
ordering bases, lambda binder metadata, and subquery plan ownership and session 
IDs. Keep server name resolution and type inference on the server. Document the 
direct Rust construction/pattern-matching migration and add structural, 
sharing, wire-format and small-stack regressions.

Generated-by: OpenAI Codex




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to