mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
test: looser condition (#5816)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user