Enable `LocalTableScan` conversion by default

Đang mở
#7,426 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, scala, spark
Lĩnh vực
data-engineering

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Scala
Star
1.3k
Fork
414
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
210

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/datafusion-comet

Tất cả issue của apache/datafusion-comet

Issue tương tự

Thêm issue về Scala

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.