Hi,
We are working on an ODBC driver that connects to Starburst Enterprise and noticed an unexpected behavior in decimal multiplication type inference.
Observation:
On Starburst Enterprise 477-e and 480-e, multiplying two decimal columns returns precision p1+p2+1 instead of the documented min(38, p1+p2) while Galaxy returns p1+p2. Release notes say:
“Arithmetic operations on decimal values now use improved type inference rules”
But the exact new formula is not documented.
Is this p1+p2+1 on enterprise correct? I tested on Enterprise 480-e and Galaxy 480.
Thank you