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-3813 Count with view is incorrect
This commit is contained in:
@ -1303,7 +1303,7 @@ uint32_t buildOuterJoin(gp_walk_info& gwi, SELECT_LEX& select_lex)
|
|||||||
// View is already processed in view::transform
|
// View is already processed in view::transform
|
||||||
// @bug5319. view is sometimes treated as derived table and
|
// @bug5319. view is sometimes treated as derived table and
|
||||||
// fromSub::transform does not build outer join filters.
|
// fromSub::transform does not build outer join filters.
|
||||||
if (!table_ptr->derived && table_ptr->view)
|
if (!table_ptr->derived && table_ptr->view && !gwi.subQuery)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
CalpontSystemCatalog:: TableAliasName tan = make_aliasview(
|
CalpontSystemCatalog:: TableAliasName tan = make_aliasview(
|
||||||
|
Reference in New Issue
Block a user