Perf: cache and serialize partition metadata across sessions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 32/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- data, performance
調査の方向性
Start by reading df.py, especially partition_metadata() and read_xarray_table(), to see how partition bounds are computed and passed through. Compare the proposed Parquet, JSON, and Zarr storage options and determine how dataset path and chunk specification identify cached metadata. Done means repeated calls can load valid saved bounds without rereading every partition’s coordinates.
索引モデルが issue の本文から書いたものです。
説明
Problem
partition_metadata() in df.py recomputes min/max coordinate bounds for all partitions every time read_xarray_table() is called. For ARCO-ERA5 (732,072 partitions), this adds startup latency on every new session even though the coordinate layout of the dataset never changes.
For remote datasets (GCS/S3), each coordinate access has network latency — making this especially costly.
Proposed API
table = read_xarray_table(
ds,
chunks={'time': 1},
metadata_cache='./era5_meta.parquet'
)
# First call: computes and saves bounds to cache file
# Subsequent calls: loads bounds from cache, skipping 732,072 coordinate reads
The partition bounds are a pure function of: dataset path + chunk specification, so caching is safe as long as the dataset structure doesn't change.
Storage formats to consider
- Parquet sidecar file (efficient, columnar)
- JSON sidecar file (human-readable, debuggable)
- Zarr consolidated metadata attributes (colocated with dataset)
Parent: #126
- 主要言語
- Python
- スター
- 142
- フォーク
- 19
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
xqlsystems/xarray-sql のほかの issue
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
xqlsystems/xarray-sql#268 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
xqlsystems/xarray-sql#267 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
xqlsystems/xarray-sql#243 ·
メンテナーはふだん 1 日以内に返信
-
publish.yml: the TestPyPI verification step is unreachable (and installs the wrong package name)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
xqlsystems/xarray-sql#242 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
xqlsystems/xarray-sql#237 ·
メンテナーはふだん 1 日以内に返信
xqlsystems/xarray-sql の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
developmentseed/titiler-cmr#250 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: IndexHandler.post crashes with HTTP 500 on malformed payloads, missing credentials, or when login is disabled対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cookiecutter/cookiecutter-django#6999 ·
メンテナーはふだん 1 日以内に返信
-
fix: @_helpers.positional raises TypeError when decorating functions without default arguments対応中かも @codeXsidd が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
googleapis/google-api-python-client#2845 ·
メンテナーはふだん 1 日以内に返信
-
github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
collective/icalendar#2003 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信