mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
Fix build, inferJoinKeyCommonType definition
This commit is contained in:
parent
ac17c0c817
commit
6172cc1676
@ -892,7 +892,7 @@ static std::unique_ptr<QueryPlan> buildJoinedPlan(
|
|||||||
* - this function shows the expression JOIN _data1.
|
* - this function shows the expression JOIN _data1.
|
||||||
*/
|
*/
|
||||||
auto interpreter = interpretSubquery(
|
auto interpreter = interpretSubquery(
|
||||||
join_element.table_expression, getContext(), original_right_columns, query_options.copy().setWithAllColumns());
|
join_element.table_expression, context, original_right_columns, query_options.copy().setWithAllColumns());
|
||||||
auto joined_plan = std::make_unique<QueryPlan>();
|
auto joined_plan = std::make_unique<QueryPlan>();
|
||||||
interpreter->buildQueryPlan(*joined_plan);
|
interpreter->buildQueryPlan(*joined_plan);
|
||||||
{
|
{
|
||||||
|
@ -116,7 +116,7 @@ private:
|
|||||||
|
|
||||||
/// Calculates common supertypes for corresponding join key columns.
|
/// Calculates common supertypes for corresponding join key columns.
|
||||||
template <typename LeftNamesAndTypes, typename RightNamesAndTypes>
|
template <typename LeftNamesAndTypes, typename RightNamesAndTypes>
|
||||||
bool inferJoinKeyCommonType(const LeftNamesAndTypes & left, const RightNamesAndTypes & right, bool to_supertype);
|
bool inferJoinKeyCommonType(const LeftNamesAndTypes & left, const RightNamesAndTypes & right, bool allow_right);
|
||||||
|
|
||||||
NamesAndTypesList correctedColumnsAddedByJoin() const;
|
NamesAndTypesList correctedColumnsAddedByJoin() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user