[Chore] Remove row-based query from Stream, Measure and Trace

オープン
#13,998 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
領域
databases

調査の方向性

まず banyand/internal/query と関連する query-engine の場所で行ベースの参照を検索し、続いて公開 API または proto の定義、テスト、fixture、ベンチマーク、CLI フラグ、および docs/concept/ と docs/api-reference.md のドキュメントを確認します。row-mode のコード、テスト、フラグ、ドキュメントが削除され、互換性の動作が決定され、既存のテストスイートが columnar/vectorized パスで成功すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

chore database

Summary

Remove the legacy row-based query code path from the Stream, Measure and Trace query engines in BanyanDB.

Motivation

Row-based query is the old (per-row / per-data-point) execution path. The newer columnar / vectorized execution model has been the default for some time, and the row-based path is now dead weight: duplicated tests, larger binary, and a maintenance tax. Removing it shrinks the surface area and forces callers onto the supported code path.

Scope

  • Identify every reference to the row-based query path in:
    • banyand/internal/query (or wherever the query engines live — verify during research).
    • Public API / proto definitions, if row-mode is exposed there.
    • Tests, fixtures, benchmarks.
  • Remove the code paths, their flags / options, and any still-supported APIs.
  • Update docs (docs/concept/, docs/api-reference.md) to drop row-mode mentions.
  • Ensure all existing tests pass on the remaining code path.

Tasks

  1. Research — enumerate call sites and the public surface that exposes row-mode (CLI flags, HTTP/gRPC fields, env vars).
  2. Removal — delete the row-mode code, its tests, and benchmarks.
  3. Compatibility — if any documented option still names row-mode, return a clear error / 410 Gone for a transition period (decision in design step).
  4. Tests — make sure CI is green after deletion; update coverage reports.
  5. Docs — sweep docs and examples.

Acceptance Criteria

  • No remaining row-mode code, tests, or flags in the repo.
  • All previously-passing tests still pass on the columnar/vectorized path.
  • Docs no longer reference row-mode.
  • Binary size / build time measurably reduced.

Related

  • Parent milestone: BanyanDB - 0.12.0 (#264)
主要言語
Java
スター
25k
フォーク
6.6k
平均マージ
12時間 56分
マージ済み PR(30日)
47

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/skywalking のほかの issue

apache/skywalking の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。