You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-1349 Fix outer joins in views
Outer join handling inside views was broken due to the joins being processed twice. This patch brings back the code so that outer joins in views are only processed once.
This commit is contained in:
@ -801,8 +801,8 @@ uint32_t buildOuterJoin(gp_walk_info& gwi, SELECT_LEX& select_lex)
|
||||
// View is already processed in view::transform
|
||||
// @bug5319. view is sometimes treated as derived table and
|
||||
// fromSub::transform does not build outer join filters.
|
||||
//if (!table_ptr->derived && table_ptr->view)
|
||||
// continue;
|
||||
if (!table_ptr->derived && table_ptr->view)
|
||||
continue;
|
||||
|
||||
CalpontSystemCatalog:: TableAliasName tan = make_aliasview(
|
||||
(table_ptr->db ? table_ptr->db : ""),
|
||||
|
Reference in New Issue
Block a user