Skip to content

Parsing "CREATE MATERIALIZED VIEW IF NOT EXISTS ..." is not supported #1686

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

Closed
zaza opened this issue Dec 6, 2022 · 2 comments
Closed

Parsing "CREATE MATERIALIZED VIEW IF NOT EXISTS ..." is not supported #1686

zaza opened this issue Dec 6, 2022 · 2 comments

Comments

@zaza
Copy link
Contributor

zaza commented Dec 6, 2022

Parsing a string creating materialized view with "IF NOT EXISTS" clause fails with an error. It appears that Feature.createViewMaterializedIfNotExists is missing, which would be similar to createViewMaterialized and createTableIfNotExists.

@wumpz
Copy link
Member

wumpz commented Dec 10, 2022

This one should be done after the materialized fine-tuning you proposed, right? However, this validation framework is somehow behind the normal JSqlParser development. So there are more missing pieces for sure.

zaza added a commit to zaza/JSqlParser that referenced this issue Dec 11, 2022
zaza added a commit to zaza/JSqlParser that referenced this issue Dec 11, 2022
zaza added a commit to zaza/JSqlParser that referenced this issue Dec 11, 2022
@zaza
Copy link
Contributor Author

zaza commented Dec 11, 2022

I created #1690 but please let me know if I missed anything. This is my first contribution to this project. I do plan to tackle the other issues I recently reported, but wanted to do it one by one.

@wumpz wumpz closed this as completed in 0f34f5b Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants