You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2020/06/17 14:17:39 UTC
[ignite] branch ignite-12747 updated: WIP.
This is an automated email from the ASF dual-hosted git repository.
amashenkov pushed a commit to branch ignite-12747
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/ignite-12747 by this push:
new bf46538 WIP.
bf46538 is described below
commit bf465380435ab13f631e18ab65c6759345ce0523
Author: Andrew V. Mashenkov <an...@gmail.com>
AuthorDate: Wed Jun 17 17:17:03 2020 +0300
WIP.
---
.../ignite/internal/processors/query/calcite/CalciteQueryProcessor.java | 1 +
.../processors/query/calcite/rules/SubqueryRewriteRuleTest.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/CalciteQueryProcessor.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/CalciteQueryProcessor.java
index 3e83316..c123b87 100644
--- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/CalciteQueryProcessor.java
+++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/CalciteQueryProcessor.java
@@ -67,6 +67,7 @@ public class CalciteQueryProcessor extends GridProcessorAdapter implements Query
.sqlToRelConverterConfig(SqlToRelConverter.configBuilder()
.withTrimUnusedFields(true)
.withDecorrelationEnabled(true)
+// .withExpand(false)
.build())
.parserConfig(SqlParser.configBuilder()
// Lexical configuration defines how identifiers are quoted, whether they are converted to upper or lower
diff --git a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/rules/SubqueryRewriteRuleTest.java b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/rules/SubqueryRewriteRuleTest.java
index 156b67f..d42f431 100644
--- a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/rules/SubqueryRewriteRuleTest.java
+++ b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/rules/SubqueryRewriteRuleTest.java
@@ -204,7 +204,7 @@ public class SubqueryRewriteRuleTest extends GridCommonAbstractTest {
* @throws Exception If failed.
*/
@Test
- public void testNonInToAntiJoinRule() throws Exception {
+ public void testNonInToSemiAntiJoinRule() throws Exception {
checkQuery("SELECT c_name\n" +
"FROM CUSTOMER\n" +
"WHERE c_countrykey <> ALL (SELECT s_countrykey FROM SUPPLIER)")