Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.11.0
-
None
-
ghx-label-5
Description
The following query causes a DCHECK when executed with decimal_v2 enabled:
select cast(1 as decimal(13,12)) - cast(0.99999999999999999999999999999999999999 as decimal(38,38))
DCHECK:
decimal-value.inline.h:274] Check failed: abs(right) < DecimalUtil::MAX_UNSCALED_DECIMAL16
This was found using fuzz testing.