[Dart] Row format support for Dart

未关闭
#3,375 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@yash-agarwa-l 已经在做这个了。

开始于 2026年8月13日。

评估

难度
5/5
预计耗时
一周以上
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
dart, java
领域
data

调研方向

从 docs/specification/row_format_spec.md 开始,检查 Dart runtime 现有的序列化流程。使用 Java 作为跨语言兼容性测试的参考端点,然后为 Dart 添加 row-format 和 CI 覆盖;完成的标准是标准的、非 compact 的行 payload 可以互操作,并且测试通过。

由索引模型根据 Issue 内容生成。

描述

dart enhancement
Feature Request

Implement standard Fory row format support for Dart.

Is your feature request related to a problem? Please describe

Dart runtime currently lacks standard row format read/write support, so Dart cannot interoperate on row-format payloads with existing standard row format implementations and cannot leverage row-level random field access.

Describe the solution you'd like

Add standard row format support in Dart based on docs/specification/row_format_spec.md.

Scope:

  • Implement row encode/decode for standard format.
  • Implement standard array/map/nested-struct layout handling.
  • Support null bitmap semantics, fixed 8-byte field slots, and relative offset+size for variable-width fields.
  • Enforce 8-byte alignment and deterministic padding behavior.
  • Add cross-language compatibility tests with Java as reference endpoint.
  • Add CI coverage for Dart row format tests and interoperability tests.

Out of scope:

  • Compact row format.
Describe alternatives you've considered

Relying only on existing object serialization flows was considered, but that approach does not satisfy standard row format compatibility and random-access requirements.

Additional context

docs/specification/row_format_spec.md

主要语言
Java
星标
4.6k
派生
470
平均合并
9 小时 28 分钟
30 天内合并 PR
33

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/fory 的其他 Issue

查看 apache/fory 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。