From 621692bc105ade93ceb85767c339c38edd1250fa Mon Sep 17 00:00:00 2001 From: discord9 Date: Thu, 22 Aug 2024 16:32:53 +0800 Subject: [PATCH] test: add comment --- tests/cases/standalone/common/flow/flow_basic.result | 2 ++ tests/cases/standalone/common/flow/flow_basic.sql | 4 ++-- tests/cases/standalone/common/flow/flow_call_df_func.result | 2 ++ tests/cases/standalone/common/flow/flow_call_df_func.sql | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/cases/standalone/common/flow/flow_basic.result b/tests/cases/standalone/common/flow/flow_basic.result index c283106966d1..3c04bea72b42 100644 --- a/tests/cases/standalone/common/flow/flow_basic.result +++ b/tests/cases/standalone/common/flow/flow_basic.result @@ -40,6 +40,7 @@ select flush_flow('test_numbers_basic')<=1; | true | +----------------------------------------------------+ +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(numbers_input_basic.number)", window_start, window_end FROM out_num_cnt_basic; +---------------------------------+---------------------+---------------------+ @@ -71,6 +72,7 @@ select flush_flow('test_numbers_basic')<=1; | true | +----------------------------------------------------+ +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(numbers_input_basic.number)", window_start, window_end FROM out_num_cnt_basic; +---------------------------------+---------------------+---------------------+ diff --git a/tests/cases/standalone/common/flow/flow_basic.sql b/tests/cases/standalone/common/flow/flow_basic.sql index b31429dbbaae..a47abd61abe7 100644 --- a/tests/cases/standalone/common/flow/flow_basic.sql +++ b/tests/cases/standalone/common/flow/flow_basic.sql @@ -21,7 +21,7 @@ VALUES (22, "2021-07-01 00:00:00.600"); select flush_flow('test_numbers_basic')<=1; - +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(numbers_input_basic.number)", window_start, window_end FROM out_num_cnt_basic; select flush_flow('test_numbers_basic')<=1; @@ -32,7 +32,7 @@ VALUES (24,"2021-07-01 00:00:01.500"); select flush_flow('test_numbers_basic')<=1; - +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(numbers_input_basic.number)", window_start, window_end FROM out_num_cnt_basic; DROP FLOW test_numbers_basic; diff --git a/tests/cases/standalone/common/flow/flow_call_df_func.result b/tests/cases/standalone/common/flow/flow_call_df_func.result index 30b0d0a75b7d..6d14be9afd2d 100644 --- a/tests/cases/standalone/common/flow/flow_call_df_func.result +++ b/tests/cases/standalone/common/flow/flow_call_df_func.result @@ -39,6 +39,7 @@ select flush_flow('test_numbers_df_func')<=1; | true | +------------------------------------------------------+ +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(abs(numbers_input_df_func.number))", window_start, window_end FROM out_num_cnt_df_func; +----------------------------------------+---------------------+---------------------+ @@ -70,6 +71,7 @@ select flush_flow('test_numbers_df_func')<=1; | true | +------------------------------------------------------+ +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(abs(numbers_input_df_func.number))", window_start, window_end FROM out_num_cnt_df_func; +----------------------------------------+---------------------+---------------------+ diff --git a/tests/cases/standalone/common/flow/flow_call_df_func.sql b/tests/cases/standalone/common/flow/flow_call_df_func.sql index 9dff3db40b47..1431b416b3a3 100644 --- a/tests/cases/standalone/common/flow/flow_call_df_func.sql +++ b/tests/cases/standalone/common/flow/flow_call_df_func.sql @@ -20,7 +20,7 @@ VALUES -- flush flow to make sure that table is created and data is inserted select flush_flow('test_numbers_df_func')<=1; - +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(abs(numbers_input_df_func.number))", window_start, window_end FROM out_num_cnt_df_func; select flush_flow('test_numbers_df_func')<=1; @@ -31,7 +31,7 @@ VALUES (-24,"2021-07-01 00:00:01.500"); select flush_flow('test_numbers_df_func')<=1; - +-- note that this quote-unquote column is a column-name, generated by datafusion SELECT "SUM(abs(numbers_input_df_func.number))", window_start, window_end FROM out_num_cnt_df_func; DROP FLOW test_numbers_df_func;