Importers return the WriteSummary of the file they write
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Read VortexWriter.finish() and the listed importer methods in ParquetImporter, CsvImporter, and JdbcImporter to trace how each writes its output. Start with the Parquet importer and the vortex-jni cross-check described in the issue, then add coverage for the other importers. Done means each importer returns its WriteSummary, and the Parquet summary matches the file's size, row count, and per-column statistics.
由索引模型根據 Issue 內容生成。
描述
Follow-up to #664. VortexWriter.finish() returns a WriteSummary (file size, row count, per-column compressed size and statistics), but every importer drops it and returns void:
ParquetImporter.importParquet(Path|URI, Path[, ImportOptions])CsvImporter.importCsv(Path|URI, Path[, ImportOptions])JdbcImporter.importTable(...)/importQuery(...)
So a caller that wants the size or statistics of what it just imported has to open the file again. The CLI's vortex import and scripts/RaincloudCompare.java both reopen files for exactly this.
Proposal: each importer returns the WriteSummary from finish(). Going from void to a return value is source-compatible for callers. A URI import that reads the source remotely still writes a local file, so it returns the summary the same way.
What it enables:
RaincloudComparecan report per-column Java vs Rust sizes without reopening files (vortex-jni's writer already returnsVortexWriteSummary). That per-column breakdown is what traced #722, #723 and #724.vortex importcan print each column's compressed size.
Test: a vortex-jni cross-check that a Parquet import's returned summary matches what vortex-jni reads back from the file (fileSize, row count, per-column statistics), plus unit tests per importer.
- 主要語言
- Java
- 星號
- 3
- 分支
- 2
- 平均合併
- 9 小時 19 分鐘
- 30 天內合併 PR
- 154
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
dfa1/vortex-java 的其他 Issue
-
good first issue
難度 2/5 1-3 小時 新手友好度 70/100
dfa1/vortex-java#738 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 70/100
dfa1/vortex-java#737 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 78/100
dfa1/vortex-java#736 ·
維護者通常 1 天內回覆
-
help wanted project
難度 5/5 一週以上 新手友好度 25/100
dfa1/vortex-java#729 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 55/100
dfa1/vortex-java#723 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 80/100
finos/fluxnova-bpm-platform#387 ·
維護者通常 4 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
-
難度 2/5 1 小時以內 新手友好度 84/100
cpp-best-practices/project_validator#251 ·
維護者通常 1 天內回覆
-
backend enhancement
難度 2/5 半天 新手友好度 70/100
damodharg6/payledger#16 ·
-
[Bug]: An initiative list with no current entry logs an error on every change可能已有人在做 @dwizard0 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆