AbsaOSS / AbsaOSS/cobrix

Add the ability to reassemble a multi-segment file

未關閉
#612 0 則留言 0 個 reaction 已指派 1 人 已被 @yruslan 認領 在 GitHub 檢視
enhancement
主要語言
Scala
星號
170
分支
96
平均合併
57 分鐘
30 天內合併 PR
2

描述

## Background
Multisegment files often have this structure:
```
file header record
segment header record
main segment record
child1 segment record
child2 segment record
...
segment footer record
segment header record
main segment record
child1 segment record
child2 segment record
...
segment footer record
file footer record
```

## Feature
Implement options that would allow reassembling multiple segment into records like this:
```
file header | segment header | main segment | child1 segment | child2 segment | segment footer | file footer
file header | segment header | main segment | child1 segment | child2 segment | segment footer | file footer
file header | segment header | main segment | child1 segment | child2 segment | segment footer | file footer
```

Not every type of segment should be present. The only mandatory segment is the main segment of a record.

## Proposed Solution
This kind of processing is possible using windowing functions. But this can be very slow.

Adding support for such a processing on the record reader level can significantly improve the performance.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。