-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
evaluate scalar expr non-strictly in streaming
Signed-off-by: Runji Wang <[email protected]>
- Loading branch information
1 parent
144c7cc
commit 6152a42
Showing
5 changed files
with
151 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# https://github.com/risingwavelabs/risingwave/issues/12474 | ||
|
||
statement ok | ||
create table t(x int[]); | ||
|
||
statement ok | ||
create materialized view mv as select 1 / x[1] as bomb, unnest(x) as unnest from t; | ||
|
||
statement ok | ||
insert into t values (array[0, 1]), (array[1]); | ||
|
||
statement ok | ||
flush; | ||
|
||
query II rowsort | ||
select * from mv; | ||
---- | ||
NULL 0 | ||
NULL 1 | ||
1 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters