hyper-api-samples icon indicating copy to clipboard operation
hyper-api-samples copied to clipboard

suggest add data type promote

Open l1t1 opened this issue 2 years ago • 0 comments

eg now I need cast the data type manually, I hope it return a bigint automatically

> select 150*150*150*150*150;
Error executing SQL: numeric overflow
Context: 0xfa6b0e2f
> select 150*150*150*150*150::bigint;
"1"
75937500000

l1t1 avatar Dec 11 '23 02:12 l1t1