From 6d6743b89a5ecb37af670bb5b912934177885e83 Mon Sep 17 00:00:00 2001 From: liuqiyuan Date: Tue, 30 Jan 2024 11:40:36 +0800 Subject: [PATCH] fix cases issue --- cases/integration_test/expression/test_type.yaml | 6 +++--- cases/integration_test/window/error_window.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cases/integration_test/expression/test_type.yaml b/cases/integration_test/expression/test_type.yaml index 074b0fe972e..be23ad30cba 100644 --- a/cases/integration_test/expression/test_type.yaml +++ b/cases/integration_test/expression/test_type.yaml @@ -424,9 +424,9 @@ cases: columns: ["id int32", "string_c1 string", "string_c2 string", "string_c3 string", "string_c4 string", "string_c5 string", "string_c6 string", "string_c7 string", "string_c8 string", "string_c9 string", "string_c10 string"] rows: - - [1, "1", "1", "1", "1.0", "1.0", "2020-05-22 10:43:40", "2020-05-22", "2020-05-22 10:43:40", "true", "1"] - - [2, "-1", "-1", "-1", "-1.0", "-1.0", "2020-05-22 10:43:40", "2020-05-22", "2020-05-22 10:43:40", "false", "-1"] - - [3, "-1", "-1", "-1", "-1.0", "-1.0", NULL, "2020-05-22", "2020-05-22 10:43:40", "false", ""] + - [1, "1", "1", "1", "1", "1.0", "2020-05-22 10:43:40", "2020-05-22", "2020-05-22 10:43:40", "true", "1"] + - [2, "-1", "-1", "-1", "-1", "-1.0", "2020-05-22 10:43:40", "2020-05-22", "2020-05-22 10:43:40", "false", "-1"] + - [3, "-1", "-1", "-1", "-1", "-1.0", NULL, "2020-05-22", "2020-05-22 10:43:40", "false", ""] - id: 20 desc: cast as date mode: offline-unsupport,disk-unsupport diff --git a/cases/integration_test/window/error_window.yaml b/cases/integration_test/window/error_window.yaml index ce2fc32983f..798c66673d2 100644 --- a/cases/integration_test/window/error_window.yaml +++ b/cases/integration_test/window/error_window.yaml @@ -26,7 +26,7 @@ cases: sql: | SELECT id, c1, c4, count(c4) OVER w1 as w1_c4_count FROM {0} WINDOW w1 AS (PARTITION BY {0}.c8 ROWS BETWEEN 2 PRECEDING AND CURRENT ROW); expect: - success: false + success: true - id: 1 desc: no partition by inputs: