Optional fields in a Schema? [Arrow JS]
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, typescript
调研方向
未指定文件、测试或入口点。首先定位 Arrow JS schema 和 nullable 字段处理,然后比较缺失值和默认值的表示方式。完成的标准是:为省略字段和可配置默认值定义受支持的行为,并通过测试覆盖这些行为。
由索引模型根据 Issue 内容生成。
描述
Is there a way I can make some fields in a schema as optional? If I set nullable to true then that just adds a default value for the field. Do I instead have the option to not include those fields which do not have any data?
If not, is there a way to set a default value for the fields? For example, a Bool field gets a False by default. Can I instead change the default value to null?
- 主要语言
- TypeScript
- 星标
- 114
- 派生
- 35
- 平均合并
- 13 小时 35 分钟
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/arrow-js 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
The IPC reader accepts a column that is shorter than its RecordBatch, and fills the missing rows with nulls可能已有人在做 @Sealdot 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
The IPC reader ignores Schema.endianness: a big-endian stream reads 1, 2, 3 as 16777216, 33554432, 50331648可能已有人在做 @aniket-r2Dev2 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
tableFromIPC loops with no end on a file whose RecordBatch block points at a DictionaryBatch可能已有人在做 @aniket-r2Dev2 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
The stream reader drops a message of an unexpected type but not its body, and parses the body as the next messages可能已有人在做 @Umer-Butt07 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
相似的 Issue
-
prio:low scope:hud
难度 2/5 1-3 小时 新手友好度 78/100
OliverRomhagen/vrigstad-joyride#953 ·
维护者通常 1 天内回复
-
review-followup
难度 1/5 1 小时以内 新手友好度 92/100
griffinwork40/agent-afk#5446 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
kacper-szewczyk/Ticknest#346 ·
维护者通常 1 天内回复
-
echarts geo: a GeoJSON URL that returns 200 with a body that is not JSON is fetched on each refresh未关闭bug plugin/echarts/geo
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
Yeachan-Heo/gajae-code#8230 ·
维护者通常 1 天内回复