[R] Expose ignore_extra_columns and pad_short_rows CSV parse options
维护者通常 1 天内回复
评估
调研方向
从 R/csv.R 中的 csv_parse_options() 和 CsvParseOptions$create() 开始,然后检查 R/src/csv.cpp 中现有的 ParseOptions 映射。添加对 ignore_extra_columns 和 pad_short_rows 的支持,使两个 R 入口点都接受它们,并由 csv.cpp 将它们传递给 Arrow C++;完成标准是可以从 R 配置这两个选项。
由索引模型根据 Issue 内容生成。
描述
Describe the enhancement requested
Arrow C++ 26.0.0 adds two new arrow::csv::ParseOptions fields:
ignore_extra_columns(#51118): rows with more columns than expected have the extra columns dropped instead of erroring.pad_short_rows(#50926): rows with fewer columns than expected are padded with nulls instead of erroring.
Neither can be set from R. csv_parse_options() and CsvParseOptions$create() should accept both, and csv.cpp should pass them through:
https://github.com/apache/arrow/blob/9479e686b9fca57f5ce90db704c5eccf3d5a0d48/r/R/csv.R#L735-L753
https://github.com/apache/arrow/blob/9479e686b9fca57f5ce90db704c5eccf3d5a0d48/r/src/csv.cpp#L64-L72
Component(s)
R
- 主要语言
- C++
- 星标
- 17.2k
- 派生
- 4.4k
- 平均合并
- 3 天 5 小时
- 30 天内合并 PR
- 67
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/arrow 的其他 Issue
-
[R][Parquet] ParquetReaderProperties does not expose page_checksum_verification, so a corrupt page CRC reads silently可能重新可做 关联的 PR 已关闭且未合并。 未关闭Component: R Type: enhancement
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[C++][Python] IPC reader rejects a DictionaryEncoding without indexType, which the format allows可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Component: C++ Component: Python Type: bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
[R] Silent loss of metadata integrity for date-time and numeric attributes in write_parquet()/read_parquet()可能重新可做 @james-finn-travers 于 10 天前认领,目前没有进行中的 PR。 未关闭Component: R Type: bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[C++][Parquet] Plaintext-footer files written with AES_GCM_CTR_V1 record AES_GCM_V1 as the encryption algorithm and cannot be read可能已有人在做 @YusefSyed 于 11 天前认领。 未关闭Type: bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
Component: C++
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
相似的 Issue
-
1 type: problem 2 scope: firmware 3 good first issue
难度 2/5 1-3 小时 新手友好度 65/100
SpaceTeam/STS1_COBC_SW#511 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
imaaiagent/fumi#3 ·
-
A bare port in --modelserver does not reach the model server可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
rocketride-org/rocketride-server#2618 · 1 条评论 ·
维护者通常 1 天内回复
-
bug format I/O medium priority rt_lib
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
refactor
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复