Description
Specifying a zero as the number of buckets with numeric field will return NaN instead of null (due to div by 0).
Ex: ROW AUTO_BUCKET(1, 0, 0, 0)
Same for negative number of buckets (due to log10(negative)).
Ex: ROW AUTO_BUCKET(1, -1, 0, 0)
Same for a number of buckets value that wraps over int (due to int overflow).
Ex: ROW AUTO_BUCKET(0, 100000000000, 0, 0)
Related: #98698.
Description
Specifying a zero as the number of buckets with numeric field will return
NaNinstead ofnull(due to div by 0).Ex:
ROW AUTO_BUCKET(1, 0, 0, 0)Same for negative number of buckets (due to log10(negative)).
Ex:
ROW AUTO_BUCKET(1, -1, 0, 0)Same for a number of buckets value that wraps over int (due to int overflow).
Ex:
ROW AUTO_BUCKET(0, 100000000000, 0, 0)Related: #98698.