Skip to content

Commit

Permalink
changed
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Sep 26, 2024
1 parent 737dadf commit 0c4ea54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/substrait/textplan/PlanPrinterVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ std::string visitEnumArgument(const std::string& str) {
bool isAggregate(const SymbolInfo* symbol) {
if (const auto typeCase =
ANY_CAST_IF(::substrait::proto::Rel::RelTypeCase, symbol->subtype)) {
if (typeCase == ::substrait::proto::Rel::kAggregate) {
return true;
}
return (typeCase == RelationType::kAggregate);
}
if (const auto typeCase = ANY_CAST_IF(RelationType, symbol->subtype)) {
return (typeCase == RelationType::kAggregate);
Expand Down

0 comments on commit 0c4ea54

Please sign in to comment.