Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.6
-
None
Description
When sql function with Date\Time\Timestamp arguments is used, H2 internals convert these objects using java.util.Calendar before pass them as arguments.
In current H2 version we use: DateTimeUtils holds cache java.util.Calendar instance in static field and synchronize every operation on it.
If its possible, we need to have workaround to use java.util.Calendar more effectively as it done for timestamp fields. See IgniteH2Indexing.wrap() method.
Startpoint: GridSQLQueryParser.FUNC_ALIAS