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

Calcite engine. Support LocalDate/LocalTime types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14
    • 2.15
    • None
    • SQL Calcite: Added support for LocalDate/LocalTime types
    • Docs Required, Release Notes Required

    Description

      H2-based engine works with LocalData/LocalTime types as java.sql.Data/java.sql.Time types. To check if value with LocalDate type can be inserted to descriptor with type java.sql.Data some logic from IgniteH2Indexing.isConvertibleToColumnType is used. If Calcite engine used without ignite-indexing this logic is unavailable.

      We should:

      1. Provide an ability to work in Calcite-based engine with LocalDate/LocalTime type in the same way as java.sql.Data/java.sql.Time types.
      2. Move IgniteH2Indexing.isConvertibleToColumnType logic to the core module (perhaps delegating this call from the core to the QueryEngine instance)

      Attachments

        Issue Links

          Activity

            People

              ivandasch Ivan Daschinsky
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h