zed icon indicating copy to clipboard operation
zed copied to clipboard

better errors in the expression package

Open mccanne opened this issue 3 years ago • 0 comments

We should revamp and document all errors that come from the expr package.

In particular, error should be structured, detailed, and stacked so that debugging
is easier. (Related issue: #4019)

While we're doing this, we should change operators where NULL doesn't make sense
to create an error value rather than a zero value. Currently, NULL+1 is 1. In SQL,
NULL+1 is NULL but this creates headaches because it's vague SQL doesn't have first-class errors. (Related issue #4018)

mccanne avatar Jul 22 '22 02:07 mccanne