You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4839: Fix clang build (#2100)
* Fix clang build * Extern C returned to plugin_instance Co-authored-by: Leonid Fedorov <l.fedorov@mail.corp.ru>
This commit is contained in:
@ -337,7 +337,7 @@ void WindowFunctionStep::AddSimplColumn(const vector<SimpleColumn*>& scs,
|
||||
jobInfo.windowDels.push_back(SRCP((*i)->clone()));
|
||||
// MCOL-3343 Enable this if we decide to allow Window Functions to run with
|
||||
// aggregates with no group by. MariaDB allows this. Nobody else in the world does.
|
||||
// There will be more work to get it to function if we try this.
|
||||
// There will be more work to get it to function if we try this.
|
||||
// jobInfo.windowSet.insert(getTupleKey(jobInfo, *i, true));
|
||||
scProjected.insert(UniqId(*i));
|
||||
}
|
||||
@ -499,7 +499,7 @@ void WindowFunctionStep::checkWindowFunction(CalpontSelectExecutionPlan* csep, J
|
||||
if (colSet.find(key) == colSet.end())
|
||||
{
|
||||
jobInfo.deliveredCols.push_back(*j);
|
||||
// MCOL-3435 Allow Window Functions to run with aggregates with
|
||||
// MCOL-3435 Allow Window Functions to run with aggregates with
|
||||
// no group by by inserting a group by for window parameters.
|
||||
if (hasAggregation)
|
||||
{
|
||||
@ -507,7 +507,7 @@ void WindowFunctionStep::checkWindowFunction(CalpontSelectExecutionPlan* csep, J
|
||||
if (dynamic_cast<AggregateColumn*>(j->get()) == NULL)
|
||||
{
|
||||
bool bFound = false;
|
||||
for (std::vector<SRCP>::iterator igpc = csep->groupByCols().begin();
|
||||
for (std::vector<SRCP>::iterator igpc = csep->groupByCols().begin();
|
||||
igpc < csep->groupByCols().end();
|
||||
++igpc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user