[
https://issues.apache.org/jira/browse/KYLIN-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930196#comment-17930196
]
Guoliang Sun commented on KYLIN-6058:
-------------------------------------
h3. Dev Design
- During segment merge, add a check: If the segment is empty, do not use
`source_bytes_size` to calculate `column_source_bytes`.
- When retrieving `column_source_bytes` for a segment, check if it is an empty
segment. If it is empty, return an empty map.
> Incorrect Segment Size Calculation When Data Source Format is ORC and Data is
> Empty
> -----------------------------------------------------------------------------------
>
> Key: KYLIN-6058
> URL: https://issues.apache.org/jira/browse/KYLIN-6058
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Guoliang Sun
> Assignee: Guoliang Sun
> Priority: Major
> Fix For: 5.0.2
>
>
> Automatic merge task triggers segment auto-merge, causing a surge in the size
> of the merged segment. This results in exceeding the license capacity, making
> further builds impossible.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)