Enable `LocalTableScan` conversion by default

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, scala, spark

調査の方向性

The flag spark.comet.exec.localTableScan.enabled gates the conversion of LocalTableScanExec, so start with the Scala rule that handles that operator and the config definition next to it. Read the linked failing Spark SQL tests from #4347 and #6795 to see what breaks when the flag is on. Done means the flag defaults to true, those tests pass, and a small-relation benchmark shows no slowdown.

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

説明

enhancement requires-triage
What is the problem the feature request solves?

LocalTableScanExec is disabled by default (spark.comet.exec.localTableScan.enabled). Small local relations, such as INSERT ... VALUES, createDataFrame(Seq(...)) and test tables, keep the operators above them in Spark. That includes native Iceberg and Parquet writes of that data.

Describe the potential solution

Check that converting LocalTableScanExec doesn't slow down common small-relation plans. Fix the Spark SQL test failures seen with it enabled (#4347, #6795), then enable it by default.

Additional context

The scan itself rarely gets faster. The point is to let the operators above it, especially native writes, convert.

主要言語
Scala
スター
1.3k
フォーク
414
平均マージ
3日 5時間
マージ済み PR(30日)
210

環境構築

はじめの一歩

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

apache/datafusion-comet のほかの issue

apache/datafusion-comet の issue をすべて見る

似ている issue

Scala の issue をもっと見る

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

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