Optimize IN list execution
Summary: Use Unwind + ScanAllByLabelPropertyValue logical operator to accelerate the execution of queries like the following one: `MATCH (n:Label) WHERE n.property IN [] ...` Reviewers: llugovic, mferencevic Reviewed By: llugovic, mferencevic Subscribers: llugovic, pullbot Differential Revision: https://phabricator.memgraph.io/D2758
This commit is contained in:
@@ -391,6 +391,9 @@ UniqueCursorPtr ScanAllByLabel::MakeCursor(utils::MemoryResource *mem) const {
|
||||
mem, output_symbol_, input_->MakeCursor(mem), std::move(vertices));
|
||||
}
|
||||
|
||||
// TODO(buda): Implement ScanAllByLabelProperty operator to iterate over
|
||||
// vertices that have the label and some value for the given property.
|
||||
|
||||
ScanAllByLabelPropertyRange::ScanAllByLabelPropertyRange(
|
||||
const std::shared_ptr<LogicalOperator> &input, Symbol output_symbol,
|
||||
storage::LabelId label, storage::PropertyId property,
|
||||
|
||||
Reference in New Issue
Block a user