Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOTDB-5378] Implement Iterating Query for MTree Node Query #8771

Merged
merged 4 commits into from Jan 6, 2023

Conversation

MarcosZyk
Copy link
Contributor

@MarcosZyk MarcosZyk commented Jan 6, 2023

Description

Motivation

The original implementation of MTree node query, including show child nodes/paths and count nodes xxx level=xxx, is based on taking all results via invoking SchemaRegion Interface. Such implementation is not friendly for resource control and process control, and has higher memory peek than iterating query.

Modification

  1. Setup IShowNodesPlan and INodeSchemaInfo
  2. Implement fake NodeReader based on traverser
  3. Refactor the implementation of NodePathsSchemaScanOperator and related UT

Copy link
Contributor

@Cpaulyz Cpaulyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MarcosZyk MarcosZyk merged commit 4c52365 into apache:master Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants