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
148765: colflow,logictest: adjust a few tests for big endian due to hash computation difference r=yuzefovich a=yuzefovich
**colflow: adjust TestHashRouterComputesDestination for big endian**
Also add a helper to `util/system` package to expose whether we're
running on a big endian system. (Go doesn't seem to expose this
information explicitly.)
Fixes: #146108.
**logictest: adjust a couple DistSQL tests for big endian**
Big endian systems have different hash computation, so a handful of
EXPLAIN ANALYZE (DISTSQL) tests need to be special-cases. This commit
does that for `dist_vectorize` and `explain_analyze_plans`. New `skipif`
options (`bigendian` and `littleendian`) are introduced to accommodate
this. It results in quite a bit of duplication in the expected output,
but EXPLAIN ANALYZE must be a top-level statement so we cannot check
just the annotated DistSQL plan unfortunately.
Fixes: #146006.
Release note: None
148768: eval: adjust a couple trig eval tests for s390x r=yuzefovich a=yuzefovich
This commit is similar in spirit to ba3639d. It turns out that s390x produces slightly different results when evaluating some trig functions like `atan` (possibly because it has architecture support, meaning it's implemented in assembly). This commit adjusts a few tests to use rounding to hide those differences.
Fixes: #145992.
Fixes: #146009.
Release note: None
Co-authored-by: Yahor Yuzefovich <[email protected]>
0 commit comments