IGNITE-16633 Adoption of a bunch of calcite related tickets from Ignite-2 - Fixes...
authorzstan <stanilovsky@gmail.com>
Fri, 4 Mar 2022 07:10:29 +0000 (10:10 +0300)
committerzstan <stanilovsky@gmail.com>
Fri, 4 Mar 2022 07:10:45 +0000 (10:10 +0300)
commit157a8f09bd98314f548f1672467f7dd682b32df2
tree2c21775a9bad409ff648bee995bd28516c420021
parented519fb2fa2a89e11a8ab7fad3069f7e1f7d74b3
IGNITE-16633 Adoption of a bunch of calcite related tickets from Ignite-2 - Fixes #698.

IGNITE-15109 TIMESTAMPDIFF for MICROSECOND unit doesn't work.
IGNITE-14975 Introduce suppot INTERVAL type.
IGNITE-15596 java.lang.Integer cannot be cast to java.lang.Long with JOIN and EXISTS.
IGNITE-16129 RelJsonReader can't deserialize enums.

Signed-off-by: zstan <stanilovsky@gmail.com>
17 files changed:
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItDataTypesTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItIntervalTest.java [new file with mode: 0644]
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItMetadataTest.java
modules/sql-engine/src/main/codegen/config.fmpp
modules/sql-engine/src/main/codegen/includes/parserImpls.ftl
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/exp/IgniteBuiltInMethod.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/exp/RexImpTable.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/exp/RexToLixTranslator.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/externalize/RelJson.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/IgniteConvertletTable.java [new file with mode: 0644]
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/IgniteTypeCoercion.java [new file with mode: 0644]
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/sql/IgniteSqlIntervalTypeNameSpec.java [new file with mode: 0644]
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/type/IgniteTypeFactory.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/Commons.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/TypeUtils.java
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/TableSpoolPlannerTest.java