Aleksey Plekhanov created IGNITE-17599:
------------------------------------------

             Summary: Calcite engine. Support LocalData/LocalTime types
                 Key: IGNITE-17599
                 URL: https://issues.apache.org/jira/browse/IGNITE-17599
             Project: Ignite
          Issue Type: Improvement
            Reporter: Aleksey Plekhanov


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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to