Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4031

SQL: Optimize Date\Time\Timestamp function arguments conversion.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.6
    • None
    • sql

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            amashenkov Andrey Mashenkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: