1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

feat(MCOL-5886): support InnoDB's table partitions in cross-engine joins

The purpose of this changeset is to obtain list of partitions from
SELECT_LEX structure and pass it down to joblist and then to
CrossEngineStep to pass to InnoDB.
This commit is contained in:
Serguey Zefirov
2025-01-20 06:46:45 +03:00
committed by Sergey Zefirov
parent b731c0a326
commit bd1622f331
23 changed files with 382 additions and 77 deletions

View File

@ -160,6 +160,14 @@ class SimpleColumn : public ReturnedColumn
if (lower_case_table_names)
boost::algorithm::to_lower(fViewName);
}
inline const execplan::Partitions& partitions() const
{
return fPartitions;
}
inline void partitions(const execplan::Partitions& partitions)
{
fPartitions = partitions;
}
inline long timeZone() const
{
return fTimeZone;
@ -270,6 +278,7 @@ class SimpleColumn : public ReturnedColumn
std::string fIndexName;
// if belong to view, view name is non-empty
std::string fViewName;
execplan::Partitions fPartitions;
long fTimeZone;
bool fisColumnStore;