Skip to content

Commit

Permalink
tag
Browse files Browse the repository at this point in the history
  • Loading branch information
loneylee committed Jul 8, 2024
1 parent 12456e5 commit c631597
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ object CHBackendSettings extends BackendSettingsApi with Logging {
override def mergeTwoPhasesHashBaseAggregateIfNeed(): Boolean = true

override def supportBroadcastNestedJoinJoinType: JoinType => Boolean = {
case _: InnerLike | LeftOuter | RightOuter | LeftSemi | FullOuter => true
case _: InnerLike | LeftSemi | FullOuter => true
case _ => false
}
}
1 change: 0 additions & 1 deletion cpp-ch/local-engine/Parser/CrossRelParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ void CrossRelParser::addPostFilter(DB::QueryPlan & query_plan, const substrait::
{
// It may be singular_or_list
auto * in_node = getPlanParser()->parseExpression(actions_dag, expression);
auto a = isColumnConst(*in_node->column);
filter_name = in_node->result_name;
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ case class ColumnarBroadcastExchangeExec(mode: BroadcastMode, child: SparkPlan)
}

override protected def doValidateInternal(): ValidationResult = {
// // CH backend does not support IdentityBroadcastMode used in BNLJ
// if (
// mode == IdentityBroadcastMode && !BackendsApiManager.getSettings
// .supportBroadcastNestedLoopJoinExec()
// ) {
// return ValidationResult.notOk("This backend does not support IdentityBroadcastMode and BNLJ")
// }

BackendsApiManager.getValidatorApiInstance
.doSchemaValidate(schema)
.map {
Expand Down

0 comments on commit c631597

Please sign in to comment.