Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disallow using system functions in create materialized view statements #11347

Open
neverchanje opened this issue Aug 1, 2023 · 1 comment
Open
Assignees
Labels
type/bug Something isn't working user-facing-changes Contains changes that are visible to users
Milestone

Comments

@neverchanje
Copy link
Contributor

neverchanje commented Aug 1, 2023

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

@neverchanje neverchanje added type/bug Something isn't working user-facing-changes Contains changes that are visible to users labels Aug 1, 2023
@github-actions github-actions bot added this to the release-1.2 milestone Aug 1, 2023
@fuyufjh fuyufjh modified the milestones: release-1.2, release-1.3 Sep 11, 2023
@xiangjinwu
Copy link
Contributor

related: #11752 #11522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working user-facing-changes Contains changes that are visible to users
Projects
None yet
Development

No branches or pull requests

3 participants