[VL] Remove the unused veloxToArrow metric

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp, java, scala
領域
backend

調査の方向性

Trace veloxToArrow through ColumnarBatch, ResultIterator, Runtime::getMetrics, the JNI Metrics constructor, MetricsUtil.updateTransformerMetricsInternal, and JoinMetricsUpdater.updateJoinMetrics in the Velox and Bolt backends. Start by checking the JVM side after #3854 and the native metric’s production in VeloxColumnarBatch::ensureFlattened; remove its carrying code and the unused parameter. Done when no path sends or consumes the metric and the uninitialized exportNanos_ value is no longer sent.

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

説明

The native veloxToArrow metric, the time VeloxColumnarBatch::ensureFlattened spends flattening a batch before it is exported, is sent to the JVM in Metrics.SingleMetric. Nothing on the JVM side has read it since #3854. The value is still carried through ColumnarBatch, ResultIterator, Runtime::getMetrics, the JNI Metrics constructor, MetricsUtil.updateTransformerMetricsInternal and JoinMetricsUpdater.updateJoinMetrics, which takes it as a parameter and ignores it. ResultIterator::exportNanos_ is also never initialized, so fetching metrics from an iterator that never produced a batch sends an indeterminate value to the JVM.

The metric and the code that carries it can be removed from the Velox and Bolt backends.

This issue was written with the assistance of AI (Claude Opus).

主要言語
Scala
スター
1.6k
フォーク
685
平均マージ
4日 16時間
マージ済み PR(30日)
84

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

apache/gluten のほかの issue

apache/gluten の issue をすべて見る

似ている issue

Scala の issue をもっと見る

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

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