diff --git a/tests/cases/standalone/common/flow/flow_view.result b/tests/cases/standalone/common/flow/flow_view.result index c293f97004..ec54a12aa8 100644 --- a/tests/cases/standalone/common/flow/flow_view.result +++ b/tests/cases/standalone/common/flow/flow_view.result @@ -24,13 +24,13 @@ CREATE FLOW user_agent_flow SINK TO user_agent_statistics AS SELECT user_agent, Affected Rows: 0 -SELECT created_time = updated_time, created_time IS NOT NULL, source_table_names FROM information_schema.flows WHERE flow_name = 'user_agent_flow'; +SELECT created_time <= updated_time, created_time IS NOT NULL, source_table_names FROM information_schema.flows WHERE flow_name = 'user_agent_flow'; -+-------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ -| information_schema.flows.created_time = information_schema.flows.updated_time | information_schema.flows.created_time IS NOT NULL | source_table_names | -+-------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ -| true | true | greptime.public.ngx_access_log | -+-------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ ++--------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ +| information_schema.flows.created_time <= information_schema.flows.updated_time | information_schema.flows.created_time IS NOT NULL | source_table_names | ++--------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ +| true | true | greptime.public.ngx_access_log | ++--------------------------------------------------------------------------------+---------------------------------------------------+--------------------------------+ CREATE OR REPLACE FLOW user_agent_flow SINK TO user_agent_statistics AS SELECT user_agent, COUNT(user_agent)+123 AS total_count FROM ngx_access_log GROUP BY user_agent; diff --git a/tests/cases/standalone/common/flow/flow_view.sql b/tests/cases/standalone/common/flow/flow_view.sql index 8ef432f23f..28e5e2608e 100644 --- a/tests/cases/standalone/common/flow/flow_view.sql +++ b/tests/cases/standalone/common/flow/flow_view.sql @@ -12,7 +12,7 @@ INSERT INTO ngx_access_log VALUES ('192.168.1.1', 'GET', '/index.html', 200, 512 CREATE FLOW user_agent_flow SINK TO user_agent_statistics AS SELECT user_agent, COUNT(user_agent) AS total_count FROM ngx_access_log GROUP BY user_agent; -SELECT created_time = updated_time, created_time IS NOT NULL, source_table_names FROM information_schema.flows WHERE flow_name = 'user_agent_flow'; +SELECT created_time <= updated_time, created_time IS NOT NULL, source_table_names FROM information_schema.flows WHERE flow_name = 'user_agent_flow'; CREATE OR REPLACE FLOW user_agent_flow SINK TO user_agent_statistics AS SELECT user_agent, COUNT(user_agent)+123 AS total_count FROM ngx_access_log GROUP BY user_agent;