Kirill Tkalenko created IGNITE-29045:
----------------------------------------
Summary: SQL Calcite: Support Java temporal types in UDF and UDTF
parameters and results
Key: IGNITE-29045
URL: https://issues.apache.org/jira/browse/IGNITE-29045
Project: Ignite
Issue Type: Bug
Reporter: Kirill Tkalenko
Assignee: Kirill Tkalenko
Java UDFs and UDTFs using temporal types fail because some {{java.time}} types
are mapped to {{{}OTHER{}}}, and SQL temporal values are represented internally
as {{{}Integer{}}}/{{{}Long{}}} without consistent conversion at the function
boundary.
Add SQL type mapping and bidirectional conversion for JDBC temporal types,
{{{}java.util.Date{}}}, {{{}LocalDate{}}}, {{{}LocalTime{}}},
{{{}LocalDateTime{}}}, {{{}Duration{}}}, and {{Period}} in UDF and UDTF
parameters and results. User-defined functions should use Java temporal types
without depending on Calciteās internal representation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)