Details
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:
- 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.
- Move IgniteH2Indexing.isConvertibleToColumnType logic to the core module (perhaps delegating this call from the core to the QueryEngine instance)
Attachments
Issue Links
- is related to
-
IGNITE-18303 Calcite engine. Fix nanoseconds flakyness in LocalDateTimeSupportTest
- Resolved
-
IGNITE-17226 Calcite engine. Make calcite engine independent of H2 and ignite-indexing
- Resolved
- links to