Skip to content

[python] Keep LeRobot reader statistics out of Dataset tables - #11649

Draft
XiaoHongbo-Hope wants to merge 2 commits into
apache:masterfrom
XiaoHongbo-Hope:codex/lerobot-reader-stats-no-column-20261203
Draft

XiaoHongbo-Hope wants to merge 2 commits into
apache:masterfrom
XiaoHongbo-Hope:codex/lerobot-reader-stats-no-column-20261203

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Keep Dataset tables limited to source metadata and explicit user fields by removing the internal __paimon_lerobot_read_control_stats cache column.

Single-source groups use the stored Dataset stats directly, including quantiles, without a frame scan. Combined readers calculate remapped index statistics lazily from their captured frame snapshot and cache the result in memory. Existing tables with the old cache column remain readable and appendable; source Dataset and Episode statistics are preserved.

Splitting the single-source and multi-source reader APIs is handled separately.

Validation

  • LeRobot aggregate, metadata/video, writer, and native-reader regression suites: 465 passed, 9 skipped, using the Python read fallback.
  • Single-source reads, absent statistics, tagged reads, metadata pickling, and multi-source lazy statistics/snapshot stability are covered.
  • Repository flake8 configuration, Python 3.6 production syntax, and git diff --check pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant