Skip to content

[IOTDB-4544] Implement tsblock split for schema query#7532

Merged
JackieTien97 merged 2 commits intoapache:masterfrom
MarcosZyk:schema_query_result_split
Oct 7, 2022
Merged

[IOTDB-4544] Implement tsblock split for schema query#7532
JackieTien97 merged 2 commits intoapache:masterfrom
MarcosZyk:schema_query_result_split

Conversation

@MarcosZyk
Copy link
Copy Markdown
Contributor

@MarcosZyk MarcosZyk commented Oct 6, 2022

Description

Motivation

The result of schema query in one schemaRegion is always transferred by only one TsBlock no matter how many the records there are. In specific scenarios, especially the timeseries schema query, too many records may results in the size of result tsblock beyond the sink constraint of mpp.

Modification

Split the result records of schema query into several tsBlocks, the max size of which is default tsblock size.

@MarcosZyk MarcosZyk requested a review from JackieTien97 October 7, 2022 02:22
@JackieTien97 JackieTien97 merged commit fdd72bc into apache:master Oct 7, 2022
@MarcosZyk MarcosZyk deleted the schema_query_result_split branch November 1, 2022 01:46
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.

2 participants