commit | e2ba4a7c313dcfbfc002aac4f5e228a47954fa78 | [log] [tgz] |
---|---|---|
author | Julian Hyde <jhyde@apache.org> | Wed Oct 19 13:59:47 2022 -0700 |
committer | Julian Hyde <jhyde@apache.org> | Thu Oct 20 13:14:11 2022 -0700 |
tree | 7a3ccf896df6c70708de39a0157086f5679ad793 | |
parent | e47b43ee8c818cb2bf18649410cbd6b56f63fe8c [diff] |
[CALCITE-5338] In DateTimeUtils, deprecate floorMod and floorDiv, and use equivalents in java.lang.Math In Avatica's DateTimeUtils, replace floorDiv and floorMod with equivalents in java.lang.Math. The JDK equivalents were introduced in Java 8, probably have superior performance (due to intrinsics), and we can use them now that Avatica is JDK 8 and above. java.lang.Math.floorMod(long, int), which was introduced in JDK 9, is still off-limits.
Apache Calcite's Avatica is a framework for building database drivers.
Avatica is a sub-project of Apache Calcite.
For more details, see the home page.
Release notes for all published versions are available on the history page.