Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
The following code in `cpp/src/gandiva/precompiled/time.cc` may cause overflow since `int32` * `int32` is `int32`, then it is converted to `int64`. The result of `int32` may loose the part of the result of the multiplication
gdv_date64 castDATE_date32(gdv_date32 days) { return days * MILLIS_IN_DAY; }
Attachments
Issue Links
- links to