spec icon indicating copy to clipboard operation
spec copied to clipboard

CESQL: clarify behaviours of errors in OR expressions

Open Cali0707 opened this issue 2 years ago • 1 comments

Currently, in the Go SDK V2, (type = 'dev.knative.example') OR (missingattribute = 'test') results in an error, even if type = 'dev.knative.example', so long as missingattribute is not set on the event. However, if this implementation were changed to eagerly return on a true value (which an optimized implementation should do), then the return value would be true.

We should

  1. Clarify whether the evaluation should be eager or not
  2. Open issues to any SDKs with an implementation that does not match the new, clarified spec

Cali0707 avatar Sep 25 '23 17:09 Cali0707

This issue is stale because it has been open for 30 days with no activity. Mark as fresh by updating e.g., adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Oct 26 '23 01:10 github-actions[bot]

@Cali0707 can we close this one now?

duglin avatar Mar 20 '24 19:03 duglin

Yes, I believe so. Thanks!

Cali0707 avatar Mar 20 '24 22:03 Cali0707