You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
162341: changefeed: improve oracle used by TestChangefeedRandomExpressions r=jeffswenson a=jeffswenson
TestChangefeedRandomExpressions is using standard sql execution as an oracle for the behavior expected by changefeed queries. There is a long allow list of "expected errors" because the oracle's behavior may not match changefeed queries:
1. Sometimes the optimizer may make it possible to execute a query that is semantically invalid, e.g. by optimizing away a branch that would fail to execute. But it should never take a valid query and make it invalid.
2. The vectorized engine and row engine have slightly different semantics that shows up given enough random expressions are tested.
Fixes: cockroachdb#162180
Epic: none
Release note: none
Co-authored-by: Jeff Swenson <jeffswenson@betterthannull.com>
0 commit comments