Description
The current behavior of interval multiply and divide follows the ANSI SQL standard when overflow, it is compatible with other interval operations when `spark.sql.ansi.enabled` is true, but not compatible when `spark.sql.ansi.enabled` is false.
When `spark.sql.ansi.enabled` is false, as the factor is a double value, so we should use java's rounding or truncation behavior for casting double to integrals.
Attachments
Issue Links
- links to