We are experiencing issues with creating view with multiple subqueries. The create view statement is in create_view_query.sql. It ran fine when I directly run the select statement against the cluster. When I ran the create view statement, I can select but other actions will hang and timeout. I have to rebuild the cluster in order to fix it. I have tried the method state in this link:
but it doesn't help.
Is there any limitation on creating view with multiple subqueries in select statement?
I have attach all tables' schema as create_view_issue.sql and the server setup as variables.txt.