Analyzer: fix 01019_alter_materialized_view_consistent#56246
Conversation
|
This is an automated comment for commit 5703e09 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
|
|
||
| DatabaseCatalog::instance().updateViewDependency(old_select.select_table_id, table_id, new_select.select_table_id, table_id); | ||
|
|
||
| new_metadata.setSelectQuery(new_select); |
There was a problem hiding this comment.
This line just sets the same select to new_metadata, see line above
const auto & new_select = new_metadata.select;| else | ||
| { InterpreterSelectQuery interpreter(view.query, local_context, SelectQueryOptions()); | ||
| { | ||
| InterpreterSelectQuery interpreter(view.query, local_context, SelectQueryOptions()); |
There was a problem hiding this comment.
InterpreterSelectQuery checks that view source matches the query inside. But I suppose it's better to have it on buildPushingToViewsChain level.
#55090 (or it's broken only on analyzer?)
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...