ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4031) SQL: Optimize Date\Time\Timestamp function arguments convertion.
Date Wed, 05 Oct 2016 11:09:20 GMT
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

View raw message