You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2016/10/05 11:09:20 UTC

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

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)