[jira] [Created] (IGNITE-4031) SQL: Optimize Date\Time\Timestamp function arguments convertion.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4031) SQL: Optimize Date\Time\Timestamp function arguments convertion.

Anton Vinogradov (Jira)
Andrew Mashenkov created IGNITE-4031:
----------------------------------------

             Summary: SQL: Optimize Date\Time\Timestamp function arguments convertion.
                 Key: IGNITE-4031
                 URL: https://issues.apache.org/jira/browse/IGNITE-4031
             Project: Ignite
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.7, 1.6
            Reporter: Andrew Mashenkov


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)