Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -0,0 +1,8 @@
|
|||
# WARNING: This definition is not intended to be useful!
|
||||
create or replace function divide_or_error(x, y) as (
|
||||
with xy as (select x/y as xy)
|
||||
select if (xy IN ('-Infinity', 'Infinity') or xy IS NULL,
|
||||
error(format('division by zero: {}/{}',x,y)),
|
||||
xy)
|
||||
from xy
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue