• craig[bot]'s avatar
    Merge #49761 · 432a1c53
    craig[bot] authored
    49761: colexec: add support for bit and some arithmetic binary operators r=yuzefovich a=yuzefovich
    
    **sem: unify division by zero check and fix it in a few places**
    
    Release note (bug fix): Previously, in some cases, CockroachDB didn't
    check whether the right argument of `Div` (`/`), `FloorDiv` (`//`),
    or `Mod` (`%`) operations was zero, so instead of correctly returning
    a "division by zero" error, we were returning `NaN`, and this is now
    fixed. Additionally, the error message of "modulus by zero" has been
    changed to "division by zero" to be inline with Postgres.
    
    **colexec: add support for bit and some arithmetic binary operators**
    
    This commit adds support for `Bitand`, `Bitor`, `Bitxor`, `FloorDiv`,
    and `Mod` binary operators for both native and datum-backed types.
    
    Release note (sql change): Vectorized execution engine now supports
    `Bitand` (`&`), `Bitor` (`|`), `Bitxor` (`^`), `FloorDiv` (`//`), and
    `Mod` (`%`) binary operators.
    Co-authored-by: default avatarYahor Yuzefovich <[email protected]>
    432a1c53
Name
Last commit
Last update
..
acceptance Loading commit data...
base Loading commit data...
bench Loading commit data...
blobs Loading commit data...
build Loading commit data...
ccl Loading commit data...
cli Loading commit data...
clusterversion Loading commit data...
cmd Loading commit data...
col Loading commit data...
compose Loading commit data...
config Loading commit data...
geo Loading commit data...
gossip Loading commit data...
internal Loading commit data...
jobs Loading commit data...
keys Loading commit data...
kv Loading commit data...
roachpb Loading commit data...
rpc Loading commit data...
security Loading commit data...
server Loading commit data...
settings Loading commit data...
sql Loading commit data...
sqlmigrations Loading commit data...
storage Loading commit data...
testutils Loading commit data...
ts Loading commit data...
ui Loading commit data...
util Loading commit data...
workload Loading commit data...
Makefile Loading commit data...