vmware-archive / database-stream-processor

Streaming and Incremental Computation Framework
Other
225 stars 20 forks source link

[JIT] Neg operator not recognized #367

Closed mihaibudiu closed 1 year ago

mihaibudiu commented 1 year ago

The Rust code seems to have a "Neg" operator, but attempts to use in the JSON cause validation errors: json validation error at/nodes/2728: {"Neg":{"inputs":[2727]}} is not valid under any of the given schemas I used Neg exactly as Distinct would be used.

Kixiron commented 1 year ago

The error is correct, Neg looks like this

pub struct Neg {
    input: NodeId,
    output_layout: LayoutId,
}

There's no inputs field in it