Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfengHKU committed Apr 18, 2023
1 parent 7062379 commit 196d240
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/binder/bind/bind_graph_pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ void Binder::bindQueryRel(const RelPattern& relPattern,
for (auto tableID : tableIDs) {
relTableSchemas.push_back(catalog.getReadOnlyVersion()->getRelTableSchema(tableID));
}
// TODO(Xiyang): revisit this
// we don't support reading property for VARIABLE_LENGTH or SHORTEST rel.
if (queryRel->getRelType() == common::QueryRelType::ONE_HOP) {
for (auto& [propertyName, propertySchemas] :
Expand Down
2 changes: 0 additions & 2 deletions src/include/planner/join_order_enumerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ class JoinOrderEnumerator {

void appendScanNodeID(std::shared_ptr<NodeExpression>& node, LogicalPlan& plan);

// bool needExtendToNewGroup(
// RelExpression& rel, NodeExpression& boundNode, common::RelDirection direction);
void appendRegularExtend(std::shared_ptr<NodeExpression> boundNode,
std::shared_ptr<NodeExpression> nbrNode, std::shared_ptr<RelExpression> rel,
common::RelDirection direction, const binder::expression_vector& properties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ class BaseLogicalExtend : public LogicalOperator {
};

} // namespace planner
} // namespace kuzu
} // namespace kuzu
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ class LogicalShortestPathExtend : public LogicalRecursiveExtend {
};

} // namespace planner
} // namespace kuzu
} // namespace kuzu
2 changes: 1 addition & 1 deletion src/planner/operator/base_logical_extend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ std::string BaseLogicalExtend::getExpressionsForPrinting() const {
}

} // namespace planner
} // namespace kuzu
} // namespace kuzu
2 changes: 1 addition & 1 deletion src/planner/operator/logical_extend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace planner {

f_group_pos_set LogicalExtend::getGroupsPosToFlatten() {
f_group_pos_set result;
if (hasAtMostOneNbr) {
if (hasAtMostOneNbr) { // Column extend. No need to flatten input bound node.
return result;
}
auto inSchema = children[0]->getSchema();
Expand Down

0 comments on commit 196d240

Please sign in to comment.