Skip to content

disallow using system functions in create materialized view statements #11347

Open
@neverchanje

Description

@neverchanje

Describe the bug

Some products refer to this type of functions as "non-materializable" functions, meaning that they are disallowed in CREATE MATERIALIZED VIEW statements. We'll also need to take care of such misuse.

dev=> create materialized view mv as select current_user();
CREATE_MATERIALIZED_VIEW

The current_user in the above MV doesn't change when switching the user.

Error message/log

No response

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

type/bugType: Bug. Only for issues.user-facing-changesContains changes that are visible to users

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions