You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by tl...@apache.org on 2021/04/30 08:38:27 UTC

[ignite] branch sql-calcite updated: IGNITE-14544 Calcite. Sort out test script 'filter/test_constant_comparisons.test'

This is an automated email from the ASF dual-hosted git repository.

tledkov pushed a commit to branch sql-calcite
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/sql-calcite by this push:
     new 38bb7ae  IGNITE-14544 Calcite. Sort out test script 'filter/test_constant_comparisons.test'
38bb7ae is described below

commit 38bb7ae72e23bde269bc6dabd34274e70e70fff5
Author: zstan <st...@gmail.com>
AuthorDate: Fri Apr 30 11:38:08 2021 +0300

    IGNITE-14544 Calcite. Sort out test script 'filter/test_constant_comparisons.test'
---
 .../src/test/sql/filter/test_constant_comparisons.test       |  2 +-
 .../test/sql/filter/test_constant_comparisons.test_ignore    | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/modules/calcite/src/test/sql/filter/test_constant_comparisons.test b/modules/calcite/src/test/sql/filter/test_constant_comparisons.test
index e6c9ba2..2c4f725 100644
--- a/modules/calcite/src/test/sql/filter/test_constant_comparisons.test
+++ b/modules/calcite/src/test/sql/filter/test_constant_comparisons.test
@@ -89,7 +89,7 @@ statement ok
 SELECT * FROM integers WHERE 2 IN ((1+1)*2, 3, 4, 5)
 
 query I
-SELECT CASE WHEN 1 THEN 13 ELSE 12 END;
+SELECT CASE WHEN 1=1 THEN 13 ELSE 12 END;
 ----
 13
 
diff --git a/modules/calcite/src/test/sql/filter/test_constant_comparisons.test_ignore b/modules/calcite/src/test/sql/filter/test_constant_comparisons.test_ignore
new file mode 100644
index 0000000..52e69cd
--- /dev/null
+++ b/modules/calcite/src/test/sql/filter/test_constant_comparisons.test_ignore
@@ -0,0 +1,12 @@
+# name: test/sql/filter/test_constant_comparisons.test_
+# description: Test expressions with constant comparisons
+# group: [filter]
+# Ignore: https://issues.apache.org/jira/browse/IGNITE-14617
+
+statement ok
+PRAGMA enable_verification
+
+query I
+SELECT CASE WHEN 1 THEN 13 ELSE 12 END;
+----
+13