Using the now() function in the materialized view will cause the compute node to crash · Issue #21949 · risingwavelabs/risingwave · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the now() function in the materialized view will cause the compute node to crash
I want to record the processing time of each row of data in the materialized view
Error message/log
To Reproduce
createtabletest.abc(
id numeric,
v numeric,
primary key(id)
);
insert intotest.abcvalues(1,1);
create materialized view test.abcdasselect
id,
sum(v) as v,
now() as stat_time
fromtest.abcgroup by id
;
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
2.2.3
Additional context
No response
The text was updated successfully, but these errors were encountered:
However, I'm not able to reproduce the crash with v2.2.3. It should gracefully display an error message upon failure.
ERROR: Failed to run the query
Caused by these errors (recent errors listed first):
1: Failed to bind expression: now()
2: Invalid input syntax: For streaming queries, `NOW()` function is only allowed in `WHERE`, `HAVING`, `ON` and `FROM`. Found in clause: None. Please please refer to https://www.risingwave.dev/docs/current/sql-pattern-temporal-filters/ for more information
Describe the bug
Using the now() function in the materialized view will cause the compute node to crash

I want to record the processing time of each row of data in the materialized view
Error message/log
To Reproduce
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
2.2.3
Additional context
No response
The text was updated successfully, but these errors were encountered: