$ 0 0 When you got BIGINTs the result should be 1. Looks like you actually got DECIMALs. SEL TYPE(1734567890123), TYPE(1000000000000); SEL CAST(1734567890123 AS BIGINT)/CAST(1000000000000 AS BIGINT); Dieter
When you got BIGINTs the result should be 1.
Looks like you actually got DECIMALs.
Dieter