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
105582: opt: check that generator functions are not used in CASE or COALESCE r=DrewKimball a=DrewKimball
#### opt: check that generator functions are not used in CASE or COALESCE
This patch adds checks during type-checking to ensure that generator functions
are not used in the arguments of `CASE`, `IF`, `COALESCE`, or `IFNULL`
expressions. This mirrors postgres behavior. This patch also corrects the error
message that is returned in these cases to say "set-returning" instead of
"generator".
Fixescockroachdb#97119Fixescockroachdb#94890
Release note (bug fix): CASE, IF, COALESCE, and IFNULL expressions now return
an error when passed a generator function as an argument. This mirrors postgres
behavior.
106944: bazel,dev: in `dev`, handle different `--compilation_mode`s correctly... r=rail a=rickystewart
... and switch our default compilation mode to `dbg`.
Under `fastbuild`, built binaries are stripped. This is not the case with `dbg`. Have `dev doctor` recommend using `dbg`, and either way make `dev` resilient to whatever kind of `--compilation_mode` you're using.
In principle or theory `dbg` is slower than `fastbuild`, but for the Go compiler it generates debuggable binaries by default and you have to opt-in to stripping, so it shoould make no real difference.
Now, we think of the `--compilation_mode` simply as follows: `dbg` is the default that everyone is opted into by default unless they explicitly set `-c opt` (we use this for release). For now I don't see a reason anyone would need `fastbuild`.
Epic: CRDB-17171
Release note: None
Closes: cockroachdb#106820
107086: server: minor improvement around TestTenantInterface r=yuzefovich a=yuzefovich
Addresses: cockroachdb#76378.
Fixes: cockroachdb#106903.
Co-authored-by: Drew Kimball <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
0 commit comments