You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by mb...@apache.org on 2026/01/30 17:42:53 UTC
(datafusion-comet) branch main updated: fix: [iceberg] Disable native c2r by default (#3348)
This is an automated email from the ASF dual-hosted git repository.
mbutrovich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new de633c8c8 fix: [iceberg] Disable native c2r by default (#3348)
de633c8c8 is described below
commit de633c8c87a1301d19d5b5932eb68570c263140f
Author: Andy Grove <ag...@apache.org>
AuthorDate: Fri Jan 30 10:42:49 2026 -0700
fix: [iceberg] Disable native c2r by default (#3348)
* Revert "chore: Enable native c2r in plan stability suite (#3302)"
This reverts commit 313cf64c3efa874ec82d4a5c90382f451e7a0a47.
* revert native c2r by default
* fix
* fix
* trigger CI
* Add .gitattributes to collapse golden file diffs on GitHub
Co-Authored-By: Claude Opus 4.5 <no...@anthropic.com>
* Revert "Add .gitattributes to collapse golden file diffs on GitHub"
This reverts commit 2fc85d1c9892b6604bf09a3a4ed70e5c238aeee6.
* Fix withInfo test to not depend on CometNativeColumnarToRowExec
Use collectFirst to find CometProjectExec in the plan tree instead of
casting through CometNativeColumnarToRowExec, which is no longer present
when native columnar-to-row is disabled.
Co-Authored-By: Claude Opus 4.5 <no...@anthropic.com>
* upmerge and fix imports
---------
Co-authored-by: Claude Opus 4.5 <no...@anthropic.com>
---
.../main/scala/org/apache/comet/CometConf.scala | 4 +-
.../q1.native_datafusion/explain.txt | 68 +-
.../q1.native_datafusion/extended.txt | 16 +-
.../q1.native_datafusion/simplified.txt | 52 +-
.../q1.native_iceberg_compat/explain.txt | 4 +-
.../q1.native_iceberg_compat/extended.txt | 2 +-
.../q1.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q1/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q1/extended.txt | 2 +-
.../approved-plans-v1_4-spark3_5/q1/simplified.txt | 10 +-
.../q10.native_datafusion/explain.txt | 60 +-
.../q10.native_datafusion/extended.txt | 16 +-
.../q10.native_datafusion/simplified.txt | 48 +-
.../q10.native_iceberg_compat/explain.txt | 36 +-
.../q10.native_iceberg_compat/extended.txt | 6 +-
.../q10.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark3_5/q10/explain.txt | 36 +-
.../approved-plans-v1_4-spark3_5/q10/extended.txt | 6 +-
.../q10/simplified.txt | 34 +-
.../q11.native_datafusion/explain.txt | 116 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q11/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q11/extended.txt | 4 +-
.../q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q12/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q12/extended.txt | 2 +-
.../q12/simplified.txt | 10 +-
.../q13.native_datafusion/explain.txt | 52 +-
.../q13.native_datafusion/extended.txt | 14 +-
.../q13.native_datafusion/simplified.txt | 54 +-
.../q13.native_iceberg_compat/explain.txt | 4 +-
.../q13.native_iceberg_compat/extended.txt | 2 +-
.../q13.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q13/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q13/extended.txt | 2 +-
.../q13/simplified.txt | 10 +-
.../q14a.native_datafusion/explain.txt | 190 +++---
.../q14a.native_datafusion/extended.txt | 138 ++--
.../q14a.native_datafusion/simplified.txt | 104 +--
.../q14a.native_iceberg_compat/explain.txt | 8 +-
.../q14a.native_iceberg_compat/extended.txt | 14 +-
.../q14a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q14a/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q14a/extended.txt | 14 +-
.../q14a/simplified.txt | 20 +-
.../q14b.native_datafusion/explain.txt | 164 ++---
.../q14b.native_datafusion/extended.txt | 104 +--
.../q14b.native_datafusion/simplified.txt | 122 ++--
.../q14b.native_iceberg_compat/explain.txt | 20 +-
.../q14b.native_iceberg_compat/extended.txt | 16 +-
.../q14b.native_iceberg_compat/simplified.txt | 54 +-
.../approved-plans-v1_4-spark3_5/q14b/explain.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q14b/extended.txt | 16 +-
.../q14b/simplified.txt | 54 +-
.../q15.native_datafusion/explain.txt | 36 +-
.../q15.native_datafusion/extended.txt | 10 +-
.../q15.native_datafusion/simplified.txt | 36 +-
.../q15.native_iceberg_compat/explain.txt | 4 +-
.../q15.native_iceberg_compat/extended.txt | 2 +-
.../q15.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q15/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q15/extended.txt | 2 +-
.../q15/simplified.txt | 10 +-
.../q16.native_datafusion/explain.txt | 8 +-
.../q16.native_datafusion/extended.txt | 4 +-
.../q16.native_datafusion/simplified.txt | 88 +--
.../q17.native_datafusion/explain.txt | 56 +-
.../q17.native_datafusion/extended.txt | 16 +-
.../q17.native_datafusion/simplified.txt | 48 +-
.../q17.native_iceberg_compat/explain.txt | 8 +-
.../q17.native_iceberg_compat/extended.txt | 4 +-
.../q17.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q17/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q17/extended.txt | 4 +-
.../q17/simplified.txt | 20 +-
.../q18.native_datafusion/explain.txt | 62 +-
.../q18.native_datafusion/extended.txt | 16 +-
.../q18.native_datafusion/simplified.txt | 66 +-
.../q18.native_iceberg_compat/explain.txt | 4 +-
.../q18.native_iceberg_compat/extended.txt | 2 +-
.../q18.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q18/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q18/extended.txt | 2 +-
.../q18/simplified.txt | 10 +-
.../q19.native_datafusion/explain.txt | 4 +-
.../q19.native_datafusion/extended.txt | 2 +-
.../q19.native_datafusion/simplified.txt | 74 +--
.../q2.native_datafusion/explain.txt | 4 +-
.../q2.native_datafusion/extended.txt | 2 +-
.../q2.native_datafusion/simplified.txt | 70 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q20/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q20/extended.txt | 2 +-
.../q20/simplified.txt | 10 +-
.../q21.native_datafusion/explain.txt | 38 +-
.../q21.native_datafusion/extended.txt | 10 +-
.../q21.native_datafusion/simplified.txt | 34 +-
.../q21.native_iceberg_compat/explain.txt | 4 +-
.../q21.native_iceberg_compat/extended.txt | 2 +-
.../q21.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q21/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q21/extended.txt | 2 +-
.../q21/simplified.txt | 8 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 36 +-
.../q22.native_iceberg_compat/explain.txt | 4 +-
.../q22.native_iceberg_compat/extended.txt | 2 +-
.../q22.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q22/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q22/extended.txt | 2 +-
.../q22/simplified.txt | 10 +-
.../q23a.native_datafusion/explain.txt | 88 +--
.../q23a.native_datafusion/extended.txt | 30 +-
.../q23a.native_datafusion/simplified.txt | 264 ++++----
.../q23a.native_iceberg_compat/explain.txt | 12 +-
.../q23a.native_iceberg_compat/extended.txt | 8 +-
.../q23a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark3_5/q23a/explain.txt | 12 +-
.../approved-plans-v1_4-spark3_5/q23a/extended.txt | 8 +-
.../q23a/simplified.txt | 30 +-
.../q23b.native_datafusion/explain.txt | 92 +--
.../q23b.native_datafusion/extended.txt | 30 +-
.../q23b.native_datafusion/simplified.txt | 294 +++++----
.../q23b.native_iceberg_compat/explain.txt | 12 +-
.../q23b.native_iceberg_compat/extended.txt | 8 +-
.../q23b.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark3_5/q23b/explain.txt | 12 +-
.../approved-plans-v1_4-spark3_5/q23b/extended.txt | 8 +-
.../q23b/simplified.txt | 30 +-
.../q24a.native_datafusion/explain.txt | 54 +-
.../q24a.native_datafusion/extended.txt | 16 +-
.../q24a.native_datafusion/simplified.txt | 46 +-
.../q24a.native_iceberg_compat/explain.txt | 42 +-
.../q24a.native_iceberg_compat/extended.txt | 4 +-
.../q24a.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4-spark3_5/q24a/explain.txt | 42 +-
.../approved-plans-v1_4-spark3_5/q24a/extended.txt | 4 +-
.../q24a/simplified.txt | 22 +-
.../q24b.native_datafusion/explain.txt | 54 +-
.../q24b.native_datafusion/extended.txt | 16 +-
.../q24b.native_datafusion/simplified.txt | 46 +-
.../q24b.native_iceberg_compat/explain.txt | 42 +-
.../q24b.native_iceberg_compat/extended.txt | 4 +-
.../q24b.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4-spark3_5/q24b/explain.txt | 42 +-
.../approved-plans-v1_4-spark3_5/q24b/extended.txt | 4 +-
.../q24b/simplified.txt | 22 +-
.../q25.native_datafusion/explain.txt | 56 +-
.../q25.native_datafusion/extended.txt | 16 +-
.../q25.native_datafusion/simplified.txt | 48 +-
.../q25.native_iceberg_compat/explain.txt | 8 +-
.../q25.native_iceberg_compat/extended.txt | 4 +-
.../q25.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q25/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q25/extended.txt | 4 +-
.../q25/simplified.txt | 20 +-
.../q26.native_datafusion/explain.txt | 44 +-
.../q26.native_datafusion/extended.txt | 12 +-
.../q26.native_datafusion/simplified.txt | 48 +-
.../q26.native_iceberg_compat/explain.txt | 4 +-
.../q26.native_iceberg_compat/extended.txt | 2 +-
.../q26.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q26/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q26/extended.txt | 2 +-
.../q26/simplified.txt | 10 +-
.../q27.native_datafusion/explain.txt | 46 +-
.../q27.native_datafusion/extended.txt | 12 +-
.../q27.native_datafusion/simplified.txt | 48 +-
.../q27.native_iceberg_compat/explain.txt | 4 +-
.../q27.native_iceberg_compat/extended.txt | 2 +-
.../q27.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q27/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q27/extended.txt | 2 +-
.../q27/simplified.txt | 10 +-
.../q28.native_datafusion/explain.txt | 74 +--
.../q28.native_datafusion/extended.txt | 24 +-
.../q28.native_datafusion/simplified.txt | 130 ++--
.../q29.native_datafusion/explain.txt | 60 +-
.../q29.native_datafusion/extended.txt | 18 +-
.../q29.native_datafusion/simplified.txt | 58 +-
.../q29.native_iceberg_compat/explain.txt | 12 +-
.../q29.native_iceberg_compat/extended.txt | 6 +-
.../q29.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark3_5/q29/explain.txt | 12 +-
.../approved-plans-v1_4-spark3_5/q29/extended.txt | 6 +-
.../q29/simplified.txt | 30 +-
.../q3.native_datafusion/explain.txt | 4 +-
.../q3.native_datafusion/extended.txt | 2 +-
.../q3.native_datafusion/simplified.txt | 40 +-
.../q30.native_datafusion/explain.txt | 80 +--
.../q30.native_datafusion/extended.txt | 20 +-
.../q30.native_datafusion/simplified.txt | 62 +-
.../q30.native_iceberg_compat/explain.txt | 4 +-
.../q30.native_iceberg_compat/extended.txt | 2 +-
.../q30.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q30/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q30/extended.txt | 2 +-
.../q30/simplified.txt | 10 +-
.../q31.native_datafusion/explain.txt | 156 ++---
.../q31.native_datafusion/extended.txt | 44 +-
.../q31.native_datafusion/simplified.txt | 260 ++++----
.../q31.native_iceberg_compat/explain.txt | 12 +-
.../q31.native_iceberg_compat/extended.txt | 6 +-
.../q31.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4-spark3_5/q31/explain.txt | 12 +-
.../approved-plans-v1_4-spark3_5/q31/extended.txt | 6 +-
.../q31/simplified.txt | 24 +-
.../q32.native_datafusion/explain.txt | 50 +-
.../q32.native_datafusion/extended.txt | 12 +-
.../q32.native_datafusion/simplified.txt | 36 +-
.../q32.native_iceberg_compat/explain.txt | 4 +-
.../q32.native_iceberg_compat/extended.txt | 2 +-
.../q32.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q32/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q32/extended.txt | 2 +-
.../q32/simplified.txt | 10 +-
.../q33.native_datafusion/explain.txt | 92 +--
.../q33.native_datafusion/extended.txt | 28 +-
.../q33.native_datafusion/simplified.txt | 70 +-
.../q33.native_iceberg_compat/explain.txt | 4 +-
.../q33.native_iceberg_compat/extended.txt | 2 +-
.../q33.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q33/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q33/extended.txt | 2 +-
.../q33/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q34/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q34/extended.txt | 2 +-
.../q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark3_5/q35/explain.txt | 36 +-
.../approved-plans-v1_4-spark3_5/q35/extended.txt | 6 +-
.../q35/simplified.txt | 34 +-
.../q36.native_datafusion/explain.txt | 44 +-
.../q36.native_datafusion/extended.txt | 12 +-
.../q36.native_datafusion/simplified.txt | 86 +--
.../q36.native_iceberg_compat/explain.txt | 4 +-
.../q36.native_iceberg_compat/extended.txt | 2 +-
.../q36.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q36/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q36/extended.txt | 2 +-
.../q36/simplified.txt | 10 +-
.../q37.native_datafusion/explain.txt | 30 +-
.../q37.native_datafusion/extended.txt | 10 +-
.../q37.native_datafusion/simplified.txt | 84 +--
.../q37.native_iceberg_compat/explain.txt | 4 +-
.../q37.native_iceberg_compat/extended.txt | 2 +-
.../q37.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q37/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q37/extended.txt | 2 +-
.../q37/simplified.txt | 10 +-
.../q38.native_datafusion/explain.txt | 54 +-
.../q38.native_datafusion/extended.txt | 16 +-
.../q38.native_datafusion/simplified.txt | 132 ++--
.../q38.native_iceberg_compat/explain.txt | 4 +-
.../q38.native_iceberg_compat/extended.txt | 2 +-
.../q38.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q38/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q38/extended.txt | 2 +-
.../q38/simplified.txt | 10 +-
.../q39a.native_datafusion/explain.txt | 78 +--
.../q39a.native_datafusion/extended.txt | 22 +-
.../q39a.native_datafusion/simplified.txt | 146 +++--
.../q39a.native_iceberg_compat/explain.txt | 8 +-
.../q39a.native_iceberg_compat/extended.txt | 4 +-
.../q39a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q39a/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q39a/extended.txt | 4 +-
.../q39a/simplified.txt | 20 +-
.../q39b.native_datafusion/explain.txt | 78 +--
.../q39b.native_datafusion/extended.txt | 22 +-
.../q39b.native_datafusion/simplified.txt | 146 +++--
.../q39b.native_iceberg_compat/explain.txt | 8 +-
.../q39b.native_iceberg_compat/extended.txt | 4 +-
.../q39b.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark3_5/q39b/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q39b/extended.txt | 4 +-
.../q39b/simplified.txt | 20 +-
.../q4.native_datafusion/explain.txt | 172 ++---
.../q4.native_datafusion/extended.txt | 40 +-
.../q4.native_datafusion/simplified.txt | 98 +--
.../q4.native_iceberg_compat/explain.txt | 8 +-
.../q4.native_iceberg_compat/extended.txt | 4 +-
.../q4.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q4/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q4/extended.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q4/simplified.txt | 16 +-
.../q40.native_datafusion/explain.txt | 8 +-
.../q40.native_datafusion/extended.txt | 4 +-
.../q40.native_datafusion/simplified.txt | 86 +--
.../q40.native_iceberg_compat/explain.txt | 4 +-
.../q40.native_iceberg_compat/extended.txt | 2 +-
.../q40.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q40/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q40/extended.txt | 2 +-
.../q40/simplified.txt | 8 +-
.../q41.native_datafusion/explain.txt | 4 +-
.../q41.native_datafusion/extended.txt | 2 +-
.../q41.native_datafusion/simplified.txt | 38 +-
.../q41.native_iceberg_compat/explain.txt | 4 +-
.../q41.native_iceberg_compat/extended.txt | 2 +-
.../q41.native_iceberg_compat/simplified.txt | 38 +-
.../approved-plans-v1_4-spark3_5/q41/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q41/extended.txt | 2 +-
.../q41/simplified.txt | 38 +-
.../q42.native_datafusion/explain.txt | 4 +-
.../q42.native_datafusion/extended.txt | 2 +-
.../q42.native_datafusion/simplified.txt | 40 +-
.../q43.native_datafusion/explain.txt | 4 +-
.../q43.native_datafusion/extended.txt | 2 +-
.../q43.native_datafusion/simplified.txt | 40 +-
.../q44.native_datafusion/explain.txt | 48 +-
.../q44.native_datafusion/extended.txt | 14 +-
.../q44.native_datafusion/simplified.txt | 88 +--
.../q44.native_iceberg_compat/explain.txt | 16 +-
.../q44.native_iceberg_compat/extended.txt | 4 +-
.../q44.native_iceberg_compat/simplified.txt | 12 +-
.../approved-plans-v1_4-spark3_5/q44/explain.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q44/extended.txt | 4 +-
.../q44/simplified.txt | 12 +-
.../q45.native_datafusion/explain.txt | 54 +-
.../q45.native_datafusion/extended.txt | 14 +-
.../q45.native_datafusion/simplified.txt | 56 +-
.../q45.native_iceberg_compat/explain.txt | 22 +-
.../q45.native_iceberg_compat/extended.txt | 4 +-
.../q45.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4-spark3_5/q45/explain.txt | 22 +-
.../approved-plans-v1_4-spark3_5/q45/extended.txt | 4 +-
.../q45/simplified.txt | 24 +-
.../q46.native_datafusion/explain.txt | 56 +-
.../q46.native_datafusion/extended.txt | 16 +-
.../q46.native_datafusion/simplified.txt | 56 +-
.../q46.native_iceberg_compat/explain.txt | 4 +-
.../q46.native_iceberg_compat/extended.txt | 2 +-
.../q46.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q46/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q46/extended.txt | 2 +-
.../q46/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q47/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q47/extended.txt | 6 +-
.../q47/simplified.txt | 8 +-
.../q48.native_datafusion/explain.txt | 44 +-
.../q48.native_datafusion/extended.txt | 12 +-
.../q48.native_datafusion/simplified.txt | 46 +-
.../q48.native_iceberg_compat/explain.txt | 4 +-
.../q48.native_iceberg_compat/extended.txt | 2 +-
.../q48.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q48/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q48/extended.txt | 2 +-
.../q48/simplified.txt | 10 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q49/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q49/extended.txt | 2 +-
.../q49/simplified.txt | 10 +-
.../q5.native_datafusion/explain.txt | 102 +--
.../q5.native_datafusion/extended.txt | 24 +-
.../q5.native_datafusion/simplified.txt | 86 +--
.../q5.native_iceberg_compat/explain.txt | 4 +-
.../q5.native_iceberg_compat/extended.txt | 2 +-
.../q5.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q5/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q5/extended.txt | 2 +-
.../approved-plans-v1_4-spark3_5/q5/simplified.txt | 10 +-
.../q50.native_datafusion/explain.txt | 40 +-
.../q50.native_datafusion/extended.txt | 12 +-
.../q50.native_datafusion/simplified.txt | 40 +-
.../q50.native_iceberg_compat/explain.txt | 4 +-
.../q50.native_iceberg_compat/extended.txt | 2 +-
.../q50.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q50/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q50/extended.txt | 2 +-
.../q50/simplified.txt | 10 +-
.../q51.native_datafusion/explain.txt | 54 +-
.../q51.native_datafusion/extended.txt | 16 +-
.../q51.native_datafusion/simplified.txt | 130 ++--
.../q51.native_iceberg_compat/explain.txt | 4 +-
.../q51.native_iceberg_compat/extended.txt | 2 +-
.../q51.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q51/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q51/extended.txt | 2 +-
.../q51/simplified.txt | 10 +-
.../q52.native_datafusion/explain.txt | 4 +-
.../q52.native_datafusion/extended.txt | 2 +-
.../q52.native_datafusion/simplified.txt | 40 +-
.../q53.native_datafusion/explain.txt | 40 +-
.../q53.native_datafusion/extended.txt | 12 +-
.../q53.native_datafusion/simplified.txt | 86 +--
.../q53.native_iceberg_compat/explain.txt | 4 +-
.../q53.native_iceberg_compat/extended.txt | 2 +-
.../q53.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q53/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q53/extended.txt | 2 +-
.../q53/simplified.txt | 10 +-
.../q54.native_datafusion/explain.txt | 86 +--
.../q54.native_datafusion/extended.txt | 30 +-
.../q54.native_datafusion/simplified.txt | 116 ++--
.../q54.native_iceberg_compat/explain.txt | 16 +-
.../q54.native_iceberg_compat/extended.txt | 8 +-
.../q54.native_iceberg_compat/simplified.txt | 56 +-
.../approved-plans-v1_4-spark3_5/q54/explain.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q54/extended.txt | 8 +-
.../q54/simplified.txt | 56 +-
.../q55.native_datafusion/explain.txt | 4 +-
.../q55.native_datafusion/extended.txt | 2 +-
.../q55.native_datafusion/simplified.txt | 40 +-
.../q56.native_datafusion/explain.txt | 92 +--
.../q56.native_datafusion/extended.txt | 28 +-
.../q56.native_datafusion/simplified.txt | 72 ++-
.../q56.native_iceberg_compat/explain.txt | 4 +-
.../q56.native_iceberg_compat/extended.txt | 2 +-
.../q56.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q56/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q56/extended.txt | 2 +-
.../q56/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q57/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q57/extended.txt | 6 +-
.../q57/simplified.txt | 8 +-
.../q58.native_datafusion/explain.txt | 86 +--
.../q58.native_datafusion/extended.txt | 28 +-
.../q58.native_datafusion/simplified.txt | 66 +-
.../q58.native_iceberg_compat/explain.txt | 8 +-
.../q58.native_iceberg_compat/extended.txt | 10 +-
.../q58.native_iceberg_compat/simplified.txt | 32 +-
.../approved-plans-v1_4-spark3_5/q58/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q58/extended.txt | 10 +-
.../q58/simplified.txt | 32 +-
.../q59.native_datafusion/explain.txt | 4 +-
.../q59.native_datafusion/extended.txt | 2 +-
.../q59.native_datafusion/simplified.txt | 86 +--
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 68 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 28 +-
.../approved-plans-v1_4-spark3_5/q6/explain.txt | 32 +-
.../approved-plans-v1_4-spark3_5/q6/extended.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q6/simplified.txt | 28 +-
.../q60.native_datafusion/explain.txt | 92 +--
.../q60.native_datafusion/extended.txt | 28 +-
.../q60.native_datafusion/simplified.txt | 72 ++-
.../q60.native_iceberg_compat/explain.txt | 4 +-
.../q60.native_iceberg_compat/extended.txt | 2 +-
.../q60.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q60/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q60/extended.txt | 2 +-
.../q60/simplified.txt | 10 +-
.../q61.native_datafusion/explain.txt | 96 +--
.../q61.native_datafusion/extended.txt | 28 +-
.../q61.native_datafusion/simplified.txt | 74 ++-
.../q61.native_iceberg_compat/explain.txt | 4 +-
.../q61.native_iceberg_compat/extended.txt | 2 +-
.../q61.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q61/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q61/extended.txt | 2 +-
.../q61/simplified.txt | 10 +-
.../q62.native_datafusion/explain.txt | 4 +-
.../q62.native_datafusion/extended.txt | 2 +-
.../q62.native_datafusion/simplified.txt | 60 +-
.../q63.native_datafusion/explain.txt | 40 +-
.../q63.native_datafusion/extended.txt | 12 +-
.../q63.native_datafusion/simplified.txt | 86 +--
.../q63.native_iceberg_compat/explain.txt | 4 +-
.../q63.native_iceberg_compat/extended.txt | 2 +-
.../q63.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q63/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q63/extended.txt | 2 +-
.../q63/simplified.txt | 10 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q64/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q64/extended.txt | 4 +-
.../q64/simplified.txt | 16 +-
.../q65.native_datafusion/explain.txt | 68 +-
.../q65.native_datafusion/extended.txt | 16 +-
.../q65.native_datafusion/simplified.txt | 48 +-
.../q65.native_iceberg_compat/explain.txt | 4 +-
.../q65.native_iceberg_compat/extended.txt | 2 +-
.../q65.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q65/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q65/extended.txt | 2 +-
.../q65/simplified.txt | 10 +-
.../q66.native_datafusion/explain.txt | 80 +--
.../q66.native_datafusion/extended.txt | 24 +-
.../q66.native_datafusion/simplified.txt | 62 +-
.../q66.native_iceberg_compat/explain.txt | 4 +-
.../q66.native_iceberg_compat/extended.txt | 2 +-
.../q66.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q66/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q66/extended.txt | 2 +-
.../q66/simplified.txt | 8 +-
.../q67.native_datafusion/explain.txt | 46 +-
.../q67.native_datafusion/extended.txt | 12 +-
.../q67.native_datafusion/simplified.txt | 90 +--
.../q67.native_iceberg_compat/explain.txt | 4 +-
.../q67.native_iceberg_compat/extended.txt | 2 +-
.../q67.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q67/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q67/extended.txt | 2 +-
.../q67/simplified.txt | 10 +-
.../q68.native_datafusion/explain.txt | 56 +-
.../q68.native_datafusion/extended.txt | 16 +-
.../q68.native_datafusion/simplified.txt | 56 +-
.../q68.native_iceberg_compat/explain.txt | 4 +-
.../q68.native_iceberg_compat/extended.txt | 2 +-
.../q68.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q68/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q68/extended.txt | 2 +-
.../q68/simplified.txt | 10 +-
.../q69.native_datafusion/explain.txt | 58 +-
.../q69.native_datafusion/extended.txt | 16 +-
.../q69.native_datafusion/simplified.txt | 48 +-
.../q69.native_iceberg_compat/explain.txt | 34 +-
.../q69.native_iceberg_compat/extended.txt | 6 +-
.../q69.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark3_5/q69/explain.txt | 34 +-
.../approved-plans-v1_4-spark3_5/q69/extended.txt | 6 +-
.../q69/simplified.txt | 34 +-
.../q7.native_datafusion/explain.txt | 44 +-
.../q7.native_datafusion/extended.txt | 12 +-
.../q7.native_datafusion/simplified.txt | 48 +-
.../q7.native_iceberg_compat/explain.txt | 4 +-
.../q7.native_iceberg_compat/extended.txt | 2 +-
.../q7.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q7/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q7/extended.txt | 2 +-
.../approved-plans-v1_4-spark3_5/q7/simplified.txt | 10 +-
.../q70.native_datafusion/explain.txt | 70 +-
.../q70.native_datafusion/extended.txt | 16 +-
.../q70.native_datafusion/simplified.txt | 138 ++--
.../q70.native_iceberg_compat/explain.txt | 8 +-
.../q70.native_iceberg_compat/extended.txt | 4 +-
.../q70.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v1_4-spark3_5/q70/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q70/extended.txt | 4 +-
.../q70/simplified.txt | 14 +-
.../q71.native_datafusion/explain.txt | 56 +-
.../q71.native_datafusion/extended.txt | 16 +-
.../q71.native_datafusion/simplified.txt | 128 ++--
.../q71.native_iceberg_compat/explain.txt | 4 +-
.../q71.native_iceberg_compat/extended.txt | 2 +-
.../q71.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q71/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q71/extended.txt | 2 +-
.../q71/simplified.txt | 10 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q72/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q72/extended.txt | 2 +-
.../q72/simplified.txt | 10 +-
.../q73.native_datafusion/explain.txt | 50 +-
.../q73.native_datafusion/extended.txt | 14 +-
.../q73.native_datafusion/simplified.txt | 102 +--
.../q73.native_iceberg_compat/explain.txt | 4 +-
.../q73.native_iceberg_compat/extended.txt | 2 +-
.../q73.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q73/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q73/extended.txt | 2 +-
.../q73/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q74/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q74/extended.txt | 4 +-
.../q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark3_5/q75/explain.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q75/extended.txt | 4 +-
.../q75/simplified.txt | 16 +-
.../q76.native_datafusion/explain.txt | 4 +-
.../q76.native_datafusion/extended.txt | 2 +-
.../q76.native_datafusion/simplified.txt | 72 ++-
.../q77.native_datafusion/explain.txt | 140 ++--
.../q77.native_datafusion/extended.txt | 36 +-
.../q77.native_datafusion/simplified.txt | 82 +--
.../q77.native_iceberg_compat/explain.txt | 4 +-
.../q77.native_iceberg_compat/extended.txt | 2 +-
.../q77.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q77/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q77/extended.txt | 2 +-
.../q77/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark3_5/q78/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q78/extended.txt | 2 +-
.../q78/simplified.txt | 8 +-
.../q79.native_datafusion/explain.txt | 44 +-
.../q79.native_datafusion/extended.txt | 12 +-
.../q79.native_datafusion/simplified.txt | 48 +-
.../q79.native_iceberg_compat/explain.txt | 4 +-
.../q79.native_iceberg_compat/extended.txt | 2 +-
.../q79.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q79/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q79/extended.txt | 2 +-
.../q79/simplified.txt | 10 +-
.../q8.native_datafusion/explain.txt | 36 +-
.../q8.native_datafusion/extended.txt | 10 +-
.../q8.native_datafusion/simplified.txt | 74 ++-
.../q8.native_iceberg_compat/explain.txt | 4 +-
.../q8.native_iceberg_compat/extended.txt | 2 +-
.../q8.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q8/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q8/extended.txt | 2 +-
.../approved-plans-v1_4-spark3_5/q8/simplified.txt | 10 +-
.../q80.native_datafusion/explain.txt | 8 +-
.../q80.native_datafusion/extended.txt | 4 +-
.../q80.native_datafusion/simplified.txt | 244 +++----
.../q80.native_iceberg_compat/explain.txt | 4 +-
.../q80.native_iceberg_compat/extended.txt | 2 +-
.../q80.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q80/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q80/extended.txt | 2 +-
.../q80/simplified.txt | 10 +-
.../q81.native_datafusion/explain.txt | 80 +--
.../q81.native_datafusion/extended.txt | 20 +-
.../q81.native_datafusion/simplified.txt | 62 +-
.../q81.native_iceberg_compat/explain.txt | 4 +-
.../q81.native_iceberg_compat/extended.txt | 2 +-
.../q81.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q81/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q81/extended.txt | 2 +-
.../q81/simplified.txt | 10 +-
.../q82.native_datafusion/explain.txt | 30 +-
.../q82.native_datafusion/extended.txt | 10 +-
.../q82.native_datafusion/simplified.txt | 84 +--
.../q82.native_iceberg_compat/explain.txt | 4 +-
.../q82.native_iceberg_compat/extended.txt | 2 +-
.../q82.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q82/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q82/extended.txt | 2 +-
.../q82/simplified.txt | 10 +-
.../q83.native_datafusion/explain.txt | 76 +--
.../q83.native_datafusion/extended.txt | 20 +-
.../q83.native_datafusion/simplified.txt | 62 +-
.../q83.native_iceberg_compat/explain.txt | 4 +-
.../q83.native_iceberg_compat/extended.txt | 2 +-
.../q83.native_iceberg_compat/simplified.txt | 28 +-
.../approved-plans-v1_4-spark3_5/q83/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q83/extended.txt | 2 +-
.../q83/simplified.txt | 28 +-
.../q84.native_datafusion/explain.txt | 4 +-
.../q84.native_datafusion/extended.txt | 2 +-
.../q84.native_datafusion/simplified.txt | 68 +-
.../q85.native_datafusion/explain.txt | 64 +-
.../q85.native_datafusion/extended.txt | 18 +-
.../q85.native_datafusion/simplified.txt | 68 +-
.../q85.native_iceberg_compat/explain.txt | 4 +-
.../q85.native_iceberg_compat/extended.txt | 2 +-
.../q85.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q85/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q85/extended.txt | 2 +-
.../q85/simplified.txt | 10 +-
.../q86.native_datafusion/explain.txt | 36 +-
.../q86.native_datafusion/extended.txt | 10 +-
.../q86.native_datafusion/simplified.txt | 70 +-
.../q86.native_iceberg_compat/explain.txt | 4 +-
.../q86.native_iceberg_compat/extended.txt | 2 +-
.../q86.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q86/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q86/extended.txt | 2 +-
.../q86/simplified.txt | 10 +-
.../q87.native_datafusion/explain.txt | 76 +--
.../q87.native_datafusion/extended.txt | 22 +-
.../q87.native_datafusion/simplified.txt | 102 +--
.../q87.native_iceberg_compat/explain.txt | 4 +-
.../q87.native_iceberg_compat/extended.txt | 2 +-
.../q87.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q87/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q87/extended.txt | 2 +-
.../q87/simplified.txt | 10 +-
.../q88.native_datafusion/explain.txt | 46 +-
.../q88.native_datafusion/extended.txt | 16 +-
.../q88.native_datafusion/simplified.txt | 160 ++---
.../q89.native_datafusion/explain.txt | 40 +-
.../q89.native_datafusion/extended.txt | 12 +-
.../q89.native_datafusion/simplified.txt | 86 +--
.../q89.native_iceberg_compat/explain.txt | 4 +-
.../q89.native_iceberg_compat/extended.txt | 2 +-
.../q89.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q89/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q89/extended.txt | 2 +-
.../q89/simplified.txt | 10 +-
.../q9.native_datafusion/explain.txt | 24 +-
.../q9.native_datafusion/extended.txt | 12 +-
.../q9.native_datafusion/simplified.txt | 94 +--
.../q9.native_iceberg_compat/explain.txt | 4 +-
.../q9.native_iceberg_compat/extended.txt | 2 +-
.../q9.native_iceberg_compat/simplified.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q9/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q9/extended.txt | 2 +-
.../approved-plans-v1_4-spark3_5/q9/simplified.txt | 4 +-
.../q90.native_datafusion/explain.txt | 12 +-
.../q90.native_datafusion/extended.txt | 4 +-
.../q90.native_datafusion/simplified.txt | 46 +-
.../q91.native_datafusion/explain.txt | 60 +-
.../q91.native_datafusion/extended.txt | 18 +-
.../q91.native_datafusion/simplified.txt | 132 ++--
.../q91.native_iceberg_compat/explain.txt | 4 +-
.../q91.native_iceberg_compat/extended.txt | 2 +-
.../q91.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q91/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q91/extended.txt | 2 +-
.../q91/simplified.txt | 10 +-
.../q92.native_datafusion/explain.txt | 50 +-
.../q92.native_datafusion/extended.txt | 12 +-
.../q92.native_datafusion/simplified.txt | 36 +-
.../q92.native_iceberg_compat/explain.txt | 4 +-
.../q92.native_iceberg_compat/extended.txt | 2 +-
.../q92.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q92/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q92/extended.txt | 2 +-
.../q92/simplified.txt | 10 +-
.../q93.native_datafusion/explain.txt | 4 +-
.../q93.native_datafusion/extended.txt | 2 +-
.../q93.native_datafusion/simplified.txt | 46 +-
.../q94.native_datafusion/explain.txt | 8 +-
.../q94.native_datafusion/extended.txt | 4 +-
.../q94.native_datafusion/simplified.txt | 88 +--
.../q95.native_datafusion/explain.txt | 8 +-
.../q95.native_datafusion/extended.txt | 4 +-
.../q95.native_datafusion/simplified.txt | 114 ++--
.../q96.native_datafusion/explain.txt | 4 +-
.../q96.native_datafusion/extended.txt | 2 +-
.../q96.native_datafusion/simplified.txt | 52 +-
.../q97.native_datafusion/explain.txt | 24 +-
.../q97.native_datafusion/extended.txt | 8 +-
.../q97.native_datafusion/simplified.txt | 78 +--
.../q97.native_iceberg_compat/explain.txt | 4 +-
.../q97.native_iceberg_compat/extended.txt | 2 +-
.../q97.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q97/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q97/extended.txt | 2 +-
.../q97/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 86 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark3_5/q98/explain.txt | 4 +-
.../approved-plans-v1_4-spark3_5/q98/extended.txt | 2 +-
.../q98/simplified.txt | 10 +-
.../q99.native_datafusion/explain.txt | 4 +-
.../q99.native_datafusion/extended.txt | 2 +-
.../q99.native_datafusion/simplified.txt | 60 +-
.../q1.native_datafusion/explain.txt | 68 +-
.../q1.native_datafusion/extended.txt | 16 +-
.../q1.native_datafusion/simplified.txt | 52 +-
.../q1.native_iceberg_compat/explain.txt | 4 +-
.../q1.native_iceberg_compat/extended.txt | 2 +-
.../q1.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q1/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q1/extended.txt | 2 +-
.../approved-plans-v1_4-spark4_0/q1/simplified.txt | 10 +-
.../q10.native_datafusion/explain.txt | 60 +-
.../q10.native_datafusion/extended.txt | 16 +-
.../q10.native_datafusion/simplified.txt | 48 +-
.../q10.native_iceberg_compat/explain.txt | 36 +-
.../q10.native_iceberg_compat/extended.txt | 6 +-
.../q10.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark4_0/q10/explain.txt | 36 +-
.../approved-plans-v1_4-spark4_0/q10/extended.txt | 6 +-
.../q10/simplified.txt | 34 +-
.../q11.native_datafusion/explain.txt | 116 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q11/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q11/extended.txt | 4 +-
.../q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q12/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q12/extended.txt | 2 +-
.../q12/simplified.txt | 10 +-
.../q13.native_datafusion/explain.txt | 52 +-
.../q13.native_datafusion/extended.txt | 14 +-
.../q13.native_datafusion/simplified.txt | 54 +-
.../q13.native_iceberg_compat/explain.txt | 4 +-
.../q13.native_iceberg_compat/extended.txt | 2 +-
.../q13.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q13/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q13/extended.txt | 2 +-
.../q13/simplified.txt | 10 +-
.../q14a.native_datafusion/explain.txt | 190 +++---
.../q14a.native_datafusion/extended.txt | 138 ++--
.../q14a.native_datafusion/simplified.txt | 104 +--
.../q14a.native_iceberg_compat/explain.txt | 8 +-
.../q14a.native_iceberg_compat/extended.txt | 14 +-
.../q14a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q14a/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q14a/extended.txt | 14 +-
.../q14a/simplified.txt | 20 +-
.../q14b.native_datafusion/explain.txt | 164 ++---
.../q14b.native_datafusion/extended.txt | 104 +--
.../q14b.native_datafusion/simplified.txt | 126 ++--
.../q14b.native_iceberg_compat/explain.txt | 20 +-
.../q14b.native_iceberg_compat/extended.txt | 16 +-
.../q14b.native_iceberg_compat/simplified.txt | 58 +-
.../approved-plans-v1_4-spark4_0/q14b/explain.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q14b/extended.txt | 16 +-
.../q14b/simplified.txt | 58 +-
.../q15.native_datafusion/explain.txt | 36 +-
.../q15.native_datafusion/extended.txt | 10 +-
.../q15.native_datafusion/simplified.txt | 36 +-
.../q15.native_iceberg_compat/explain.txt | 4 +-
.../q15.native_iceberg_compat/extended.txt | 2 +-
.../q15.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q15/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q15/extended.txt | 2 +-
.../q15/simplified.txt | 10 +-
.../q16.native_datafusion/explain.txt | 8 +-
.../q16.native_datafusion/extended.txt | 4 +-
.../q16.native_datafusion/simplified.txt | 88 +--
.../q17.native_datafusion/explain.txt | 56 +-
.../q17.native_datafusion/extended.txt | 16 +-
.../q17.native_datafusion/simplified.txt | 48 +-
.../q17.native_iceberg_compat/explain.txt | 8 +-
.../q17.native_iceberg_compat/extended.txt | 4 +-
.../q17.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q17/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q17/extended.txt | 4 +-
.../q17/simplified.txt | 20 +-
.../q18.native_datafusion/explain.txt | 62 +-
.../q18.native_datafusion/extended.txt | 16 +-
.../q18.native_datafusion/simplified.txt | 66 +-
.../q18.native_iceberg_compat/explain.txt | 4 +-
.../q18.native_iceberg_compat/extended.txt | 2 +-
.../q18.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q18/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q18/extended.txt | 2 +-
.../q18/simplified.txt | 10 +-
.../q19.native_datafusion/explain.txt | 4 +-
.../q19.native_datafusion/extended.txt | 2 +-
.../q19.native_datafusion/simplified.txt | 74 +--
.../q2.native_datafusion/explain.txt | 4 +-
.../q2.native_datafusion/extended.txt | 2 +-
.../q2.native_datafusion/simplified.txt | 70 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q20/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q20/extended.txt | 2 +-
.../q20/simplified.txt | 10 +-
.../q21.native_datafusion/explain.txt | 38 +-
.../q21.native_datafusion/extended.txt | 10 +-
.../q21.native_datafusion/simplified.txt | 34 +-
.../q21.native_iceberg_compat/explain.txt | 4 +-
.../q21.native_iceberg_compat/extended.txt | 2 +-
.../q21.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q21/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q21/extended.txt | 2 +-
.../q21/simplified.txt | 8 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 36 +-
.../q22.native_iceberg_compat/explain.txt | 4 +-
.../q22.native_iceberg_compat/extended.txt | 2 +-
.../q22.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q22/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q22/extended.txt | 2 +-
.../q22/simplified.txt | 10 +-
.../q23a.native_datafusion/explain.txt | 88 +--
.../q23a.native_datafusion/extended.txt | 30 +-
.../q23a.native_datafusion/simplified.txt | 264 ++++----
.../q23a.native_iceberg_compat/explain.txt | 12 +-
.../q23a.native_iceberg_compat/extended.txt | 8 +-
.../q23a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark4_0/q23a/explain.txt | 12 +-
.../approved-plans-v1_4-spark4_0/q23a/extended.txt | 8 +-
.../q23a/simplified.txt | 30 +-
.../q23b.native_datafusion/explain.txt | 92 +--
.../q23b.native_datafusion/extended.txt | 30 +-
.../q23b.native_datafusion/simplified.txt | 294 +++++----
.../q23b.native_iceberg_compat/explain.txt | 12 +-
.../q23b.native_iceberg_compat/extended.txt | 8 +-
.../q23b.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark4_0/q23b/explain.txt | 12 +-
.../approved-plans-v1_4-spark4_0/q23b/extended.txt | 8 +-
.../q23b/simplified.txt | 30 +-
.../q24a.native_datafusion/explain.txt | 54 +-
.../q24a.native_datafusion/extended.txt | 16 +-
.../q24a.native_datafusion/simplified.txt | 46 +-
.../q24a.native_iceberg_compat/explain.txt | 42 +-
.../q24a.native_iceberg_compat/extended.txt | 4 +-
.../q24a.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4-spark4_0/q24a/explain.txt | 42 +-
.../approved-plans-v1_4-spark4_0/q24a/extended.txt | 4 +-
.../q24a/simplified.txt | 22 +-
.../q24b.native_datafusion/explain.txt | 54 +-
.../q24b.native_datafusion/extended.txt | 16 +-
.../q24b.native_datafusion/simplified.txt | 46 +-
.../q24b.native_iceberg_compat/explain.txt | 42 +-
.../q24b.native_iceberg_compat/extended.txt | 4 +-
.../q24b.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4-spark4_0/q24b/explain.txt | 42 +-
.../approved-plans-v1_4-spark4_0/q24b/extended.txt | 4 +-
.../q24b/simplified.txt | 22 +-
.../q25.native_datafusion/explain.txt | 56 +-
.../q25.native_datafusion/extended.txt | 16 +-
.../q25.native_datafusion/simplified.txt | 48 +-
.../q25.native_iceberg_compat/explain.txt | 8 +-
.../q25.native_iceberg_compat/extended.txt | 4 +-
.../q25.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q25/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q25/extended.txt | 4 +-
.../q25/simplified.txt | 20 +-
.../q26.native_datafusion/explain.txt | 44 +-
.../q26.native_datafusion/extended.txt | 12 +-
.../q26.native_datafusion/simplified.txt | 48 +-
.../q26.native_iceberg_compat/explain.txt | 4 +-
.../q26.native_iceberg_compat/extended.txt | 2 +-
.../q26.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q26/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q26/extended.txt | 2 +-
.../q26/simplified.txt | 10 +-
.../q27.native_datafusion/explain.txt | 46 +-
.../q27.native_datafusion/extended.txt | 12 +-
.../q27.native_datafusion/simplified.txt | 48 +-
.../q27.native_iceberg_compat/explain.txt | 4 +-
.../q27.native_iceberg_compat/extended.txt | 2 +-
.../q27.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q27/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q27/extended.txt | 2 +-
.../q27/simplified.txt | 10 +-
.../q28.native_datafusion/explain.txt | 74 +--
.../q28.native_datafusion/extended.txt | 24 +-
.../q28.native_datafusion/simplified.txt | 130 ++--
.../q29.native_datafusion/explain.txt | 60 +-
.../q29.native_datafusion/extended.txt | 18 +-
.../q29.native_datafusion/simplified.txt | 58 +-
.../q29.native_iceberg_compat/explain.txt | 12 +-
.../q29.native_iceberg_compat/extended.txt | 6 +-
.../q29.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark4_0/q29/explain.txt | 12 +-
.../approved-plans-v1_4-spark4_0/q29/extended.txt | 6 +-
.../q29/simplified.txt | 30 +-
.../q3.native_datafusion/explain.txt | 4 +-
.../q3.native_datafusion/extended.txt | 2 +-
.../q3.native_datafusion/simplified.txt | 40 +-
.../q30.native_datafusion/explain.txt | 80 +--
.../q30.native_datafusion/extended.txt | 20 +-
.../q30.native_datafusion/simplified.txt | 62 +-
.../q30.native_iceberg_compat/explain.txt | 4 +-
.../q30.native_iceberg_compat/extended.txt | 2 +-
.../q30.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q30/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q30/extended.txt | 2 +-
.../q30/simplified.txt | 10 +-
.../q31.native_datafusion/explain.txt | 156 ++---
.../q31.native_datafusion/extended.txt | 44 +-
.../q31.native_datafusion/simplified.txt | 260 ++++----
.../q31.native_iceberg_compat/explain.txt | 12 +-
.../q31.native_iceberg_compat/extended.txt | 6 +-
.../q31.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4-spark4_0/q31/explain.txt | 12 +-
.../approved-plans-v1_4-spark4_0/q31/extended.txt | 6 +-
.../q31/simplified.txt | 24 +-
.../q32.native_datafusion/explain.txt | 50 +-
.../q32.native_datafusion/extended.txt | 12 +-
.../q32.native_datafusion/simplified.txt | 36 +-
.../q32.native_iceberg_compat/explain.txt | 4 +-
.../q32.native_iceberg_compat/extended.txt | 2 +-
.../q32.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q32/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q32/extended.txt | 2 +-
.../q32/simplified.txt | 10 +-
.../q33.native_datafusion/explain.txt | 92 +--
.../q33.native_datafusion/extended.txt | 28 +-
.../q33.native_datafusion/simplified.txt | 70 +-
.../q33.native_iceberg_compat/explain.txt | 4 +-
.../q33.native_iceberg_compat/extended.txt | 2 +-
.../q33.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q33/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q33/extended.txt | 2 +-
.../q33/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q34/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q34/extended.txt | 2 +-
.../q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark4_0/q35/explain.txt | 36 +-
.../approved-plans-v1_4-spark4_0/q35/extended.txt | 6 +-
.../q35/simplified.txt | 34 +-
.../q36.native_datafusion/explain.txt | 44 +-
.../q36.native_datafusion/extended.txt | 12 +-
.../q36.native_datafusion/simplified.txt | 86 +--
.../q36.native_iceberg_compat/explain.txt | 4 +-
.../q36.native_iceberg_compat/extended.txt | 2 +-
.../q36.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q36/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q36/extended.txt | 2 +-
.../q36/simplified.txt | 10 +-
.../q37.native_datafusion/explain.txt | 30 +-
.../q37.native_datafusion/extended.txt | 10 +-
.../q37.native_datafusion/simplified.txt | 84 +--
.../q37.native_iceberg_compat/explain.txt | 4 +-
.../q37.native_iceberg_compat/extended.txt | 2 +-
.../q37.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q37/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q37/extended.txt | 2 +-
.../q37/simplified.txt | 10 +-
.../q38.native_datafusion/explain.txt | 54 +-
.../q38.native_datafusion/extended.txt | 16 +-
.../q38.native_datafusion/simplified.txt | 132 ++--
.../q38.native_iceberg_compat/explain.txt | 4 +-
.../q38.native_iceberg_compat/extended.txt | 2 +-
.../q38.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q38/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q38/extended.txt | 2 +-
.../q38/simplified.txt | 10 +-
.../q39a.native_datafusion/explain.txt | 78 +--
.../q39a.native_datafusion/extended.txt | 22 +-
.../q39a.native_datafusion/simplified.txt | 146 +++--
.../q39a.native_iceberg_compat/explain.txt | 8 +-
.../q39a.native_iceberg_compat/extended.txt | 4 +-
.../q39a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q39a/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q39a/extended.txt | 4 +-
.../q39a/simplified.txt | 20 +-
.../q39b.native_datafusion/explain.txt | 78 +--
.../q39b.native_datafusion/extended.txt | 22 +-
.../q39b.native_datafusion/simplified.txt | 146 +++--
.../q39b.native_iceberg_compat/explain.txt | 8 +-
.../q39b.native_iceberg_compat/extended.txt | 4 +-
.../q39b.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4-spark4_0/q39b/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q39b/extended.txt | 4 +-
.../q39b/simplified.txt | 20 +-
.../q4.native_datafusion/explain.txt | 172 ++---
.../q4.native_datafusion/extended.txt | 40 +-
.../q4.native_datafusion/simplified.txt | 98 +--
.../q4.native_iceberg_compat/explain.txt | 8 +-
.../q4.native_iceberg_compat/extended.txt | 4 +-
.../q4.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q4/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q4/extended.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q4/simplified.txt | 16 +-
.../q40.native_datafusion/explain.txt | 8 +-
.../q40.native_datafusion/extended.txt | 4 +-
.../q40.native_datafusion/simplified.txt | 86 +--
.../q40.native_iceberg_compat/explain.txt | 4 +-
.../q40.native_iceberg_compat/extended.txt | 2 +-
.../q40.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q40/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q40/extended.txt | 2 +-
.../q40/simplified.txt | 8 +-
.../q41.native_datafusion/explain.txt | 4 +-
.../q41.native_datafusion/extended.txt | 2 +-
.../q41.native_datafusion/simplified.txt | 38 +-
.../q41.native_iceberg_compat/explain.txt | 4 +-
.../q41.native_iceberg_compat/extended.txt | 2 +-
.../q41.native_iceberg_compat/simplified.txt | 38 +-
.../approved-plans-v1_4-spark4_0/q41/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q41/extended.txt | 2 +-
.../q41/simplified.txt | 38 +-
.../q42.native_datafusion/explain.txt | 4 +-
.../q42.native_datafusion/extended.txt | 2 +-
.../q42.native_datafusion/simplified.txt | 40 +-
.../q43.native_datafusion/explain.txt | 4 +-
.../q43.native_datafusion/extended.txt | 2 +-
.../q43.native_datafusion/simplified.txt | 40 +-
.../q44.native_datafusion/explain.txt | 32 +-
.../q44.native_datafusion/extended.txt | 12 +-
.../q44.native_datafusion/simplified.txt | 128 ++--
.../q45.native_datafusion/explain.txt | 54 +-
.../q45.native_datafusion/extended.txt | 14 +-
.../q45.native_datafusion/simplified.txt | 56 +-
.../q45.native_iceberg_compat/explain.txt | 22 +-
.../q45.native_iceberg_compat/extended.txt | 4 +-
.../q45.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4-spark4_0/q45/explain.txt | 22 +-
.../approved-plans-v1_4-spark4_0/q45/extended.txt | 4 +-
.../q45/simplified.txt | 24 +-
.../q46.native_datafusion/explain.txt | 56 +-
.../q46.native_datafusion/extended.txt | 16 +-
.../q46.native_datafusion/simplified.txt | 56 +-
.../q46.native_iceberg_compat/explain.txt | 4 +-
.../q46.native_iceberg_compat/extended.txt | 2 +-
.../q46.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q46/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q46/extended.txt | 2 +-
.../q46/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q47/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q47/extended.txt | 6 +-
.../q47/simplified.txt | 8 +-
.../q48.native_datafusion/explain.txt | 44 +-
.../q48.native_datafusion/extended.txt | 12 +-
.../q48.native_datafusion/simplified.txt | 46 +-
.../q48.native_iceberg_compat/explain.txt | 4 +-
.../q48.native_iceberg_compat/extended.txt | 2 +-
.../q48.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q48/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q48/extended.txt | 2 +-
.../q48/simplified.txt | 10 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q49/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q49/extended.txt | 2 +-
.../q49/simplified.txt | 10 +-
.../q5.native_datafusion/explain.txt | 102 +--
.../q5.native_datafusion/extended.txt | 24 +-
.../q5.native_datafusion/simplified.txt | 86 +--
.../q5.native_iceberg_compat/explain.txt | 4 +-
.../q5.native_iceberg_compat/extended.txt | 2 +-
.../q5.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q5/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q5/extended.txt | 2 +-
.../approved-plans-v1_4-spark4_0/q5/simplified.txt | 10 +-
.../q50.native_datafusion/explain.txt | 40 +-
.../q50.native_datafusion/extended.txt | 12 +-
.../q50.native_datafusion/simplified.txt | 40 +-
.../q50.native_iceberg_compat/explain.txt | 4 +-
.../q50.native_iceberg_compat/extended.txt | 2 +-
.../q50.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q50/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q50/extended.txt | 2 +-
.../q50/simplified.txt | 10 +-
.../q51.native_datafusion/explain.txt | 54 +-
.../q51.native_datafusion/extended.txt | 16 +-
.../q51.native_datafusion/simplified.txt | 130 ++--
.../q51.native_iceberg_compat/explain.txt | 4 +-
.../q51.native_iceberg_compat/extended.txt | 2 +-
.../q51.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q51/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q51/extended.txt | 2 +-
.../q51/simplified.txt | 10 +-
.../q52.native_datafusion/explain.txt | 4 +-
.../q52.native_datafusion/extended.txt | 2 +-
.../q52.native_datafusion/simplified.txt | 40 +-
.../q53.native_datafusion/explain.txt | 40 +-
.../q53.native_datafusion/extended.txt | 12 +-
.../q53.native_datafusion/simplified.txt | 86 +--
.../q53.native_iceberg_compat/explain.txt | 4 +-
.../q53.native_iceberg_compat/extended.txt | 2 +-
.../q53.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q53/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q53/extended.txt | 2 +-
.../q53/simplified.txt | 10 +-
.../q54.native_datafusion/explain.txt | 86 +--
.../q54.native_datafusion/extended.txt | 30 +-
.../q54.native_datafusion/simplified.txt | 120 ++--
.../q54.native_iceberg_compat/explain.txt | 16 +-
.../q54.native_iceberg_compat/extended.txt | 8 +-
.../q54.native_iceberg_compat/simplified.txt | 60 +-
.../approved-plans-v1_4-spark4_0/q54/explain.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q54/extended.txt | 8 +-
.../q54/simplified.txt | 60 +-
.../q55.native_datafusion/explain.txt | 4 +-
.../q55.native_datafusion/extended.txt | 2 +-
.../q55.native_datafusion/simplified.txt | 40 +-
.../q56.native_datafusion/explain.txt | 92 +--
.../q56.native_datafusion/extended.txt | 28 +-
.../q56.native_datafusion/simplified.txt | 72 ++-
.../q56.native_iceberg_compat/explain.txt | 4 +-
.../q56.native_iceberg_compat/extended.txt | 2 +-
.../q56.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q56/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q56/extended.txt | 2 +-
.../q56/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q57/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q57/extended.txt | 6 +-
.../q57/simplified.txt | 8 +-
.../q58.native_datafusion/explain.txt | 86 +--
.../q58.native_datafusion/extended.txt | 28 +-
.../q58.native_datafusion/simplified.txt | 68 +-
.../q58.native_iceberg_compat/explain.txt | 8 +-
.../q58.native_iceberg_compat/extended.txt | 10 +-
.../q58.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark4_0/q58/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q58/extended.txt | 10 +-
.../q58/simplified.txt | 34 +-
.../q59.native_datafusion/explain.txt | 4 +-
.../q59.native_datafusion/extended.txt | 2 +-
.../q59.native_datafusion/simplified.txt | 86 +--
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 70 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4-spark4_0/q6/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q6/extended.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q6/simplified.txt | 30 +-
.../q60.native_datafusion/explain.txt | 92 +--
.../q60.native_datafusion/extended.txt | 28 +-
.../q60.native_datafusion/simplified.txt | 72 ++-
.../q60.native_iceberg_compat/explain.txt | 4 +-
.../q60.native_iceberg_compat/extended.txt | 2 +-
.../q60.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q60/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q60/extended.txt | 2 +-
.../q60/simplified.txt | 10 +-
.../q61.native_datafusion/explain.txt | 96 +--
.../q61.native_datafusion/extended.txt | 28 +-
.../q61.native_datafusion/simplified.txt | 74 ++-
.../q61.native_iceberg_compat/explain.txt | 4 +-
.../q61.native_iceberg_compat/extended.txt | 2 +-
.../q61.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q61/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q61/extended.txt | 2 +-
.../q61/simplified.txt | 10 +-
.../q62.native_datafusion/explain.txt | 4 +-
.../q62.native_datafusion/extended.txt | 2 +-
.../q62.native_datafusion/simplified.txt | 60 +-
.../q63.native_datafusion/explain.txt | 40 +-
.../q63.native_datafusion/extended.txt | 12 +-
.../q63.native_datafusion/simplified.txt | 86 +--
.../q63.native_iceberg_compat/explain.txt | 4 +-
.../q63.native_iceberg_compat/extended.txt | 2 +-
.../q63.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q63/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q63/extended.txt | 2 +-
.../q63/simplified.txt | 10 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q64/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q64/extended.txt | 4 +-
.../q64/simplified.txt | 16 +-
.../q65.native_datafusion/explain.txt | 68 +-
.../q65.native_datafusion/extended.txt | 16 +-
.../q65.native_datafusion/simplified.txt | 48 +-
.../q65.native_iceberg_compat/explain.txt | 4 +-
.../q65.native_iceberg_compat/extended.txt | 2 +-
.../q65.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q65/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q65/extended.txt | 2 +-
.../q65/simplified.txt | 10 +-
.../q66.native_datafusion/explain.txt | 80 +--
.../q66.native_datafusion/extended.txt | 24 +-
.../q66.native_datafusion/simplified.txt | 62 +-
.../q66.native_iceberg_compat/explain.txt | 4 +-
.../q66.native_iceberg_compat/extended.txt | 2 +-
.../q66.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q66/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q66/extended.txt | 2 +-
.../q66/simplified.txt | 8 +-
.../q67.native_datafusion/explain.txt | 46 +-
.../q67.native_datafusion/extended.txt | 12 +-
.../q67.native_datafusion/simplified.txt | 90 +--
.../q67.native_iceberg_compat/explain.txt | 4 +-
.../q67.native_iceberg_compat/extended.txt | 2 +-
.../q67.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q67/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q67/extended.txt | 2 +-
.../q67/simplified.txt | 10 +-
.../q68.native_datafusion/explain.txt | 56 +-
.../q68.native_datafusion/extended.txt | 16 +-
.../q68.native_datafusion/simplified.txt | 56 +-
.../q68.native_iceberg_compat/explain.txt | 4 +-
.../q68.native_iceberg_compat/extended.txt | 2 +-
.../q68.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q68/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q68/extended.txt | 2 +-
.../q68/simplified.txt | 10 +-
.../q69.native_datafusion/explain.txt | 58 +-
.../q69.native_datafusion/extended.txt | 16 +-
.../q69.native_datafusion/simplified.txt | 48 +-
.../q69.native_iceberg_compat/explain.txt | 34 +-
.../q69.native_iceberg_compat/extended.txt | 6 +-
.../q69.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4-spark4_0/q69/explain.txt | 34 +-
.../approved-plans-v1_4-spark4_0/q69/extended.txt | 6 +-
.../q69/simplified.txt | 34 +-
.../q7.native_datafusion/explain.txt | 44 +-
.../q7.native_datafusion/extended.txt | 12 +-
.../q7.native_datafusion/simplified.txt | 48 +-
.../q7.native_iceberg_compat/explain.txt | 4 +-
.../q7.native_iceberg_compat/extended.txt | 2 +-
.../q7.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q7/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q7/extended.txt | 2 +-
.../approved-plans-v1_4-spark4_0/q7/simplified.txt | 10 +-
.../q70.native_datafusion/explain.txt | 70 +-
.../q70.native_datafusion/extended.txt | 16 +-
.../q70.native_datafusion/simplified.txt | 138 ++--
.../q70.native_iceberg_compat/explain.txt | 8 +-
.../q70.native_iceberg_compat/extended.txt | 4 +-
.../q70.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v1_4-spark4_0/q70/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q70/extended.txt | 4 +-
.../q70/simplified.txt | 14 +-
.../q71.native_datafusion/explain.txt | 56 +-
.../q71.native_datafusion/extended.txt | 16 +-
.../q71.native_datafusion/simplified.txt | 128 ++--
.../q71.native_iceberg_compat/explain.txt | 4 +-
.../q71.native_iceberg_compat/extended.txt | 2 +-
.../q71.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q71/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q71/extended.txt | 2 +-
.../q71/simplified.txt | 10 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q72/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q72/extended.txt | 2 +-
.../q72/simplified.txt | 10 +-
.../q73.native_datafusion/explain.txt | 50 +-
.../q73.native_datafusion/extended.txt | 14 +-
.../q73.native_datafusion/simplified.txt | 102 +--
.../q73.native_iceberg_compat/explain.txt | 4 +-
.../q73.native_iceberg_compat/extended.txt | 2 +-
.../q73.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q73/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q73/extended.txt | 2 +-
.../q73/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q74/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q74/extended.txt | 4 +-
.../q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4-spark4_0/q75/explain.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q75/extended.txt | 4 +-
.../q75/simplified.txt | 16 +-
.../q76.native_datafusion/explain.txt | 4 +-
.../q76.native_datafusion/extended.txt | 2 +-
.../q76.native_datafusion/simplified.txt | 72 ++-
.../q77.native_datafusion/explain.txt | 140 ++--
.../q77.native_datafusion/extended.txt | 36 +-
.../q77.native_datafusion/simplified.txt | 82 +--
.../q77.native_iceberg_compat/explain.txt | 4 +-
.../q77.native_iceberg_compat/extended.txt | 2 +-
.../q77.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q77/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q77/extended.txt | 2 +-
.../q77/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4-spark4_0/q78/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q78/extended.txt | 2 +-
.../q78/simplified.txt | 8 +-
.../q79.native_datafusion/explain.txt | 44 +-
.../q79.native_datafusion/extended.txt | 12 +-
.../q79.native_datafusion/simplified.txt | 48 +-
.../q79.native_iceberg_compat/explain.txt | 4 +-
.../q79.native_iceberg_compat/extended.txt | 2 +-
.../q79.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q79/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q79/extended.txt | 2 +-
.../q79/simplified.txt | 10 +-
.../q8.native_datafusion/explain.txt | 36 +-
.../q8.native_datafusion/extended.txt | 10 +-
.../q8.native_datafusion/simplified.txt | 74 ++-
.../q8.native_iceberg_compat/explain.txt | 4 +-
.../q8.native_iceberg_compat/extended.txt | 2 +-
.../q8.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q8/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q8/extended.txt | 2 +-
.../approved-plans-v1_4-spark4_0/q8/simplified.txt | 10 +-
.../q80.native_datafusion/explain.txt | 8 +-
.../q80.native_datafusion/extended.txt | 4 +-
.../q80.native_datafusion/simplified.txt | 244 +++----
.../q80.native_iceberg_compat/explain.txt | 4 +-
.../q80.native_iceberg_compat/extended.txt | 2 +-
.../q80.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q80/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q80/extended.txt | 2 +-
.../q80/simplified.txt | 10 +-
.../q81.native_datafusion/explain.txt | 80 +--
.../q81.native_datafusion/extended.txt | 20 +-
.../q81.native_datafusion/simplified.txt | 62 +-
.../q81.native_iceberg_compat/explain.txt | 4 +-
.../q81.native_iceberg_compat/extended.txt | 2 +-
.../q81.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q81/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q81/extended.txt | 2 +-
.../q81/simplified.txt | 10 +-
.../q82.native_datafusion/explain.txt | 30 +-
.../q82.native_datafusion/extended.txt | 10 +-
.../q82.native_datafusion/simplified.txt | 84 +--
.../q82.native_iceberg_compat/explain.txt | 4 +-
.../q82.native_iceberg_compat/extended.txt | 2 +-
.../q82.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q82/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q82/extended.txt | 2 +-
.../q82/simplified.txt | 10 +-
.../q83.ansi.native_datafusion/explain.txt | 76 +--
.../q83.ansi.native_datafusion/extended.txt | 20 +-
.../q83.ansi.native_datafusion/simplified.txt | 62 +-
.../q83.ansi.native_iceberg_compat/explain.txt | 4 +-
.../q83.ansi.native_iceberg_compat/extended.txt | 2 +-
.../q83.ansi.native_iceberg_compat/simplified.txt | 28 +-
.../q83.ansi/explain.txt | 4 +-
.../q83.ansi/extended.txt | 2 +-
.../q83.ansi/simplified.txt | 28 +-
.../q84.native_datafusion/explain.txt | 4 +-
.../q84.native_datafusion/extended.txt | 2 +-
.../q84.native_datafusion/simplified.txt | 68 +-
.../q85.native_datafusion/explain.txt | 64 +-
.../q85.native_datafusion/extended.txt | 18 +-
.../q85.native_datafusion/simplified.txt | 68 +-
.../q85.native_iceberg_compat/explain.txt | 4 +-
.../q85.native_iceberg_compat/extended.txt | 2 +-
.../q85.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q85/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q85/extended.txt | 2 +-
.../q85/simplified.txt | 10 +-
.../q86.native_datafusion/explain.txt | 36 +-
.../q86.native_datafusion/extended.txt | 10 +-
.../q86.native_datafusion/simplified.txt | 70 +-
.../q86.native_iceberg_compat/explain.txt | 4 +-
.../q86.native_iceberg_compat/extended.txt | 2 +-
.../q86.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q86/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q86/extended.txt | 2 +-
.../q86/simplified.txt | 10 +-
.../q87.native_datafusion/explain.txt | 76 +--
.../q87.native_datafusion/extended.txt | 22 +-
.../q87.native_datafusion/simplified.txt | 102 +--
.../q87.native_iceberg_compat/explain.txt | 4 +-
.../q87.native_iceberg_compat/extended.txt | 2 +-
.../q87.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q87/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q87/extended.txt | 2 +-
.../q87/simplified.txt | 10 +-
.../q88.native_datafusion/explain.txt | 46 +-
.../q88.native_datafusion/extended.txt | 16 +-
.../q88.native_datafusion/simplified.txt | 160 ++---
.../q89.native_datafusion/explain.txt | 40 +-
.../q89.native_datafusion/extended.txt | 12 +-
.../q89.native_datafusion/simplified.txt | 86 +--
.../q89.native_iceberg_compat/explain.txt | 4 +-
.../q89.native_iceberg_compat/extended.txt | 2 +-
.../q89.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q89/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q89/extended.txt | 2 +-
.../q89/simplified.txt | 10 +-
.../q9.native_datafusion/explain.txt | 24 +-
.../q9.native_datafusion/extended.txt | 12 +-
.../q9.native_datafusion/simplified.txt | 94 +--
.../q9.native_iceberg_compat/explain.txt | 4 +-
.../q9.native_iceberg_compat/extended.txt | 2 +-
.../q9.native_iceberg_compat/simplified.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q9/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q9/extended.txt | 2 +-
.../approved-plans-v1_4-spark4_0/q9/simplified.txt | 4 +-
.../q90.native_datafusion/explain.txt | 12 +-
.../q90.native_datafusion/extended.txt | 4 +-
.../q90.native_datafusion/simplified.txt | 46 +-
.../q91.native_datafusion/explain.txt | 60 +-
.../q91.native_datafusion/extended.txt | 18 +-
.../q91.native_datafusion/simplified.txt | 132 ++--
.../q91.native_iceberg_compat/explain.txt | 4 +-
.../q91.native_iceberg_compat/extended.txt | 2 +-
.../q91.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q91/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q91/extended.txt | 2 +-
.../q91/simplified.txt | 10 +-
.../q92.native_datafusion/explain.txt | 50 +-
.../q92.native_datafusion/extended.txt | 12 +-
.../q92.native_datafusion/simplified.txt | 36 +-
.../q92.native_iceberg_compat/explain.txt | 4 +-
.../q92.native_iceberg_compat/extended.txt | 2 +-
.../q92.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q92/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q92/extended.txt | 2 +-
.../q92/simplified.txt | 10 +-
.../q93.native_datafusion/explain.txt | 4 +-
.../q93.native_datafusion/extended.txt | 2 +-
.../q93.native_datafusion/simplified.txt | 46 +-
.../q94.native_datafusion/explain.txt | 8 +-
.../q94.native_datafusion/extended.txt | 4 +-
.../q94.native_datafusion/simplified.txt | 88 +--
.../q95.native_datafusion/explain.txt | 8 +-
.../q95.native_datafusion/extended.txt | 4 +-
.../q95.native_datafusion/simplified.txt | 114 ++--
.../q96.native_datafusion/explain.txt | 4 +-
.../q96.native_datafusion/extended.txt | 2 +-
.../q96.native_datafusion/simplified.txt | 52 +-
.../q97.native_datafusion/explain.txt | 24 +-
.../q97.native_datafusion/extended.txt | 8 +-
.../q97.native_datafusion/simplified.txt | 78 +--
.../q97.native_iceberg_compat/explain.txt | 4 +-
.../q97.native_iceberg_compat/extended.txt | 2 +-
.../q97.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q97/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q97/extended.txt | 2 +-
.../q97/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 86 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4-spark4_0/q98/explain.txt | 4 +-
.../approved-plans-v1_4-spark4_0/q98/extended.txt | 2 +-
.../q98/simplified.txt | 10 +-
.../q99.native_datafusion/explain.txt | 4 +-
.../q99.native_datafusion/extended.txt | 2 +-
.../q99.native_datafusion/simplified.txt | 60 +-
.../q1.native_datafusion/explain.txt | 68 +-
.../q1.native_datafusion/extended.txt | 16 +-
.../q1.native_datafusion/simplified.txt | 52 +-
.../q1.native_iceberg_compat/explain.txt | 4 +-
.../q1.native_iceberg_compat/extended.txt | 2 +-
.../q1.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q1/explain.txt | 4 +-
.../approved-plans-v1_4/q1/extended.txt | 2 +-
.../approved-plans-v1_4/q1/simplified.txt | 10 +-
.../q10.native_datafusion/explain.txt | 60 +-
.../q10.native_datafusion/extended.txt | 16 +-
.../q10.native_datafusion/simplified.txt | 48 +-
.../q10.native_iceberg_compat/explain.txt | 36 +-
.../q10.native_iceberg_compat/extended.txt | 6 +-
.../q10.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4/q10/explain.txt | 36 +-
.../approved-plans-v1_4/q10/extended.txt | 6 +-
.../approved-plans-v1_4/q10/simplified.txt | 34 +-
.../q11.native_datafusion/explain.txt | 116 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4/q11/explain.txt | 8 +-
.../approved-plans-v1_4/q11/extended.txt | 4 +-
.../approved-plans-v1_4/q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q12/explain.txt | 4 +-
.../approved-plans-v1_4/q12/extended.txt | 2 +-
.../approved-plans-v1_4/q12/simplified.txt | 10 +-
.../q13.native_datafusion/explain.txt | 52 +-
.../q13.native_datafusion/extended.txt | 14 +-
.../q13.native_datafusion/simplified.txt | 54 +-
.../q13.native_iceberg_compat/explain.txt | 4 +-
.../q13.native_iceberg_compat/extended.txt | 2 +-
.../q13.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q13/explain.txt | 4 +-
.../approved-plans-v1_4/q13/extended.txt | 2 +-
.../approved-plans-v1_4/q13/simplified.txt | 10 +-
.../q14a.native_datafusion/explain.txt | 190 +++---
.../q14a.native_datafusion/extended.txt | 138 ++--
.../q14a.native_datafusion/simplified.txt | 104 +--
.../q14a.native_iceberg_compat/explain.txt | 8 +-
.../q14a.native_iceberg_compat/extended.txt | 14 +-
.../q14a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4/q14a/explain.txt | 8 +-
.../approved-plans-v1_4/q14a/extended.txt | 14 +-
.../approved-plans-v1_4/q14a/simplified.txt | 20 +-
.../q14b.native_datafusion/explain.txt | 164 ++---
.../q14b.native_datafusion/extended.txt | 104 +--
.../q14b.native_datafusion/simplified.txt | 122 ++--
.../q14b.native_iceberg_compat/explain.txt | 20 +-
.../q14b.native_iceberg_compat/extended.txt | 16 +-
.../q14b.native_iceberg_compat/simplified.txt | 54 +-
.../approved-plans-v1_4/q14b/explain.txt | 20 +-
.../approved-plans-v1_4/q14b/extended.txt | 16 +-
.../approved-plans-v1_4/q14b/simplified.txt | 54 +-
.../q15.native_datafusion/explain.txt | 36 +-
.../q15.native_datafusion/extended.txt | 10 +-
.../q15.native_datafusion/simplified.txt | 36 +-
.../q15.native_iceberg_compat/explain.txt | 4 +-
.../q15.native_iceberg_compat/extended.txt | 2 +-
.../q15.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q15/explain.txt | 4 +-
.../approved-plans-v1_4/q15/extended.txt | 2 +-
.../approved-plans-v1_4/q15/simplified.txt | 10 +-
.../q16.native_datafusion/explain.txt | 8 +-
.../q16.native_datafusion/extended.txt | 4 +-
.../q16.native_datafusion/simplified.txt | 88 +--
.../q17.native_datafusion/explain.txt | 56 +-
.../q17.native_datafusion/extended.txt | 16 +-
.../q17.native_datafusion/simplified.txt | 48 +-
.../q17.native_iceberg_compat/explain.txt | 8 +-
.../q17.native_iceberg_compat/extended.txt | 4 +-
.../q17.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4/q17/explain.txt | 8 +-
.../approved-plans-v1_4/q17/extended.txt | 4 +-
.../approved-plans-v1_4/q17/simplified.txt | 20 +-
.../q18.native_datafusion/explain.txt | 62 +-
.../q18.native_datafusion/extended.txt | 16 +-
.../q18.native_datafusion/simplified.txt | 66 +-
.../q18.native_iceberg_compat/explain.txt | 4 +-
.../q18.native_iceberg_compat/extended.txt | 2 +-
.../q18.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q18/explain.txt | 4 +-
.../approved-plans-v1_4/q18/extended.txt | 2 +-
.../approved-plans-v1_4/q18/simplified.txt | 10 +-
.../q19.native_datafusion/explain.txt | 4 +-
.../q19.native_datafusion/extended.txt | 2 +-
.../q19.native_datafusion/simplified.txt | 74 +--
.../q2.native_datafusion/explain.txt | 4 +-
.../q2.native_datafusion/extended.txt | 2 +-
.../q2.native_datafusion/simplified.txt | 70 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q20/explain.txt | 4 +-
.../approved-plans-v1_4/q20/extended.txt | 2 +-
.../approved-plans-v1_4/q20/simplified.txt | 10 +-
.../q21.native_datafusion/explain.txt | 38 +-
.../q21.native_datafusion/extended.txt | 10 +-
.../q21.native_datafusion/simplified.txt | 34 +-
.../q21.native_iceberg_compat/explain.txt | 4 +-
.../q21.native_iceberg_compat/extended.txt | 2 +-
.../q21.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q21/explain.txt | 4 +-
.../approved-plans-v1_4/q21/extended.txt | 2 +-
.../approved-plans-v1_4/q21/simplified.txt | 8 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 36 +-
.../q22.native_iceberg_compat/explain.txt | 4 +-
.../q22.native_iceberg_compat/extended.txt | 2 +-
.../q22.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q22/explain.txt | 4 +-
.../approved-plans-v1_4/q22/extended.txt | 2 +-
.../approved-plans-v1_4/q22/simplified.txt | 10 +-
.../q23a.native_datafusion/explain.txt | 88 +--
.../q23a.native_datafusion/extended.txt | 30 +-
.../q23a.native_datafusion/simplified.txt | 264 ++++----
.../q23a.native_iceberg_compat/explain.txt | 12 +-
.../q23a.native_iceberg_compat/extended.txt | 8 +-
.../q23a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4/q23a/explain.txt | 12 +-
.../approved-plans-v1_4/q23a/extended.txt | 8 +-
.../approved-plans-v1_4/q23a/simplified.txt | 30 +-
.../q23b.native_datafusion/explain.txt | 92 +--
.../q23b.native_datafusion/extended.txt | 30 +-
.../q23b.native_datafusion/simplified.txt | 294 +++++----
.../q23b.native_iceberg_compat/explain.txt | 12 +-
.../q23b.native_iceberg_compat/extended.txt | 8 +-
.../q23b.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4/q23b/explain.txt | 12 +-
.../approved-plans-v1_4/q23b/extended.txt | 8 +-
.../approved-plans-v1_4/q23b/simplified.txt | 30 +-
.../q24a.native_datafusion/explain.txt | 54 +-
.../q24a.native_datafusion/extended.txt | 16 +-
.../q24a.native_datafusion/simplified.txt | 46 +-
.../q24a.native_iceberg_compat/explain.txt | 42 +-
.../q24a.native_iceberg_compat/extended.txt | 4 +-
.../q24a.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4/q24a/explain.txt | 42 +-
.../approved-plans-v1_4/q24a/extended.txt | 4 +-
.../approved-plans-v1_4/q24a/simplified.txt | 22 +-
.../q24b.native_datafusion/explain.txt | 54 +-
.../q24b.native_datafusion/extended.txt | 16 +-
.../q24b.native_datafusion/simplified.txt | 46 +-
.../q24b.native_iceberg_compat/explain.txt | 42 +-
.../q24b.native_iceberg_compat/extended.txt | 4 +-
.../q24b.native_iceberg_compat/simplified.txt | 22 +-
.../approved-plans-v1_4/q24b/explain.txt | 42 +-
.../approved-plans-v1_4/q24b/extended.txt | 4 +-
.../approved-plans-v1_4/q24b/simplified.txt | 22 +-
.../q25.native_datafusion/explain.txt | 56 +-
.../q25.native_datafusion/extended.txt | 16 +-
.../q25.native_datafusion/simplified.txt | 48 +-
.../q25.native_iceberg_compat/explain.txt | 8 +-
.../q25.native_iceberg_compat/extended.txt | 4 +-
.../q25.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4/q25/explain.txt | 8 +-
.../approved-plans-v1_4/q25/extended.txt | 4 +-
.../approved-plans-v1_4/q25/simplified.txt | 20 +-
.../q26.native_datafusion/explain.txt | 44 +-
.../q26.native_datafusion/extended.txt | 12 +-
.../q26.native_datafusion/simplified.txt | 48 +-
.../q26.native_iceberg_compat/explain.txt | 4 +-
.../q26.native_iceberg_compat/extended.txt | 2 +-
.../q26.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q26/explain.txt | 4 +-
.../approved-plans-v1_4/q26/extended.txt | 2 +-
.../approved-plans-v1_4/q26/simplified.txt | 10 +-
.../q27.native_datafusion/explain.txt | 46 +-
.../q27.native_datafusion/extended.txt | 12 +-
.../q27.native_datafusion/simplified.txt | 48 +-
.../q27.native_iceberg_compat/explain.txt | 4 +-
.../q27.native_iceberg_compat/extended.txt | 2 +-
.../q27.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q27/explain.txt | 4 +-
.../approved-plans-v1_4/q27/extended.txt | 2 +-
.../approved-plans-v1_4/q27/simplified.txt | 10 +-
.../q28.native_datafusion/explain.txt | 74 +--
.../q28.native_datafusion/extended.txt | 24 +-
.../q28.native_datafusion/simplified.txt | 130 ++--
.../q29.native_datafusion/explain.txt | 60 +-
.../q29.native_datafusion/extended.txt | 18 +-
.../q29.native_datafusion/simplified.txt | 58 +-
.../q29.native_iceberg_compat/explain.txt | 12 +-
.../q29.native_iceberg_compat/extended.txt | 6 +-
.../q29.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v1_4/q29/explain.txt | 12 +-
.../approved-plans-v1_4/q29/extended.txt | 6 +-
.../approved-plans-v1_4/q29/simplified.txt | 30 +-
.../q3.native_datafusion/explain.txt | 4 +-
.../q3.native_datafusion/extended.txt | 2 +-
.../q3.native_datafusion/simplified.txt | 40 +-
.../q30.native_datafusion/explain.txt | 80 +--
.../q30.native_datafusion/extended.txt | 20 +-
.../q30.native_datafusion/simplified.txt | 62 +-
.../q30.native_iceberg_compat/explain.txt | 4 +-
.../q30.native_iceberg_compat/extended.txt | 2 +-
.../q30.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q30/explain.txt | 4 +-
.../approved-plans-v1_4/q30/extended.txt | 2 +-
.../approved-plans-v1_4/q30/simplified.txt | 10 +-
.../q31.native_datafusion/explain.txt | 156 ++---
.../q31.native_datafusion/extended.txt | 44 +-
.../q31.native_datafusion/simplified.txt | 260 ++++----
.../q31.native_iceberg_compat/explain.txt | 12 +-
.../q31.native_iceberg_compat/extended.txt | 6 +-
.../q31.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4/q31/explain.txt | 12 +-
.../approved-plans-v1_4/q31/extended.txt | 6 +-
.../approved-plans-v1_4/q31/simplified.txt | 24 +-
.../q32.native_datafusion/explain.txt | 50 +-
.../q32.native_datafusion/extended.txt | 12 +-
.../q32.native_datafusion/simplified.txt | 36 +-
.../q32.native_iceberg_compat/explain.txt | 4 +-
.../q32.native_iceberg_compat/extended.txt | 2 +-
.../q32.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q32/explain.txt | 4 +-
.../approved-plans-v1_4/q32/extended.txt | 2 +-
.../approved-plans-v1_4/q32/simplified.txt | 10 +-
.../q33.native_datafusion/explain.txt | 96 +--
.../q33.native_datafusion/extended.txt | 28 +-
.../q33.native_datafusion/simplified.txt | 88 +--
.../q33.native_iceberg_compat/explain.txt | 4 +-
.../q33.native_iceberg_compat/extended.txt | 2 +-
.../q33.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q33/explain.txt | 4 +-
.../approved-plans-v1_4/q33/extended.txt | 2 +-
.../approved-plans-v1_4/q33/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q34/explain.txt | 4 +-
.../approved-plans-v1_4/q34/extended.txt | 2 +-
.../approved-plans-v1_4/q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4/q35/explain.txt | 36 +-
.../approved-plans-v1_4/q35/extended.txt | 6 +-
.../approved-plans-v1_4/q35/simplified.txt | 34 +-
.../q36.native_datafusion/explain.txt | 44 +-
.../q36.native_datafusion/extended.txt | 12 +-
.../q36.native_datafusion/simplified.txt | 86 +--
.../q36.native_iceberg_compat/explain.txt | 4 +-
.../q36.native_iceberg_compat/extended.txt | 2 +-
.../q36.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q36/explain.txt | 4 +-
.../approved-plans-v1_4/q36/extended.txt | 2 +-
.../approved-plans-v1_4/q36/simplified.txt | 10 +-
.../q37.native_datafusion/explain.txt | 30 +-
.../q37.native_datafusion/extended.txt | 10 +-
.../q37.native_datafusion/simplified.txt | 84 +--
.../q37.native_iceberg_compat/explain.txt | 4 +-
.../q37.native_iceberg_compat/extended.txt | 2 +-
.../q37.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q37/explain.txt | 4 +-
.../approved-plans-v1_4/q37/extended.txt | 2 +-
.../approved-plans-v1_4/q37/simplified.txt | 10 +-
.../q38.native_datafusion/explain.txt | 54 +-
.../q38.native_datafusion/extended.txt | 16 +-
.../q38.native_datafusion/simplified.txt | 132 ++--
.../q38.native_iceberg_compat/explain.txt | 4 +-
.../q38.native_iceberg_compat/extended.txt | 2 +-
.../q38.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q38/explain.txt | 4 +-
.../approved-plans-v1_4/q38/extended.txt | 2 +-
.../approved-plans-v1_4/q38/simplified.txt | 10 +-
.../q39a.native_datafusion/explain.txt | 78 +--
.../q39a.native_datafusion/extended.txt | 22 +-
.../q39a.native_datafusion/simplified.txt | 146 +++--
.../q39a.native_iceberg_compat/explain.txt | 8 +-
.../q39a.native_iceberg_compat/extended.txt | 4 +-
.../q39a.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4/q39a/explain.txt | 8 +-
.../approved-plans-v1_4/q39a/extended.txt | 4 +-
.../approved-plans-v1_4/q39a/simplified.txt | 20 +-
.../q39b.native_datafusion/explain.txt | 78 +--
.../q39b.native_datafusion/extended.txt | 22 +-
.../q39b.native_datafusion/simplified.txt | 146 +++--
.../q39b.native_iceberg_compat/explain.txt | 8 +-
.../q39b.native_iceberg_compat/extended.txt | 4 +-
.../q39b.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v1_4/q39b/explain.txt | 8 +-
.../approved-plans-v1_4/q39b/extended.txt | 4 +-
.../approved-plans-v1_4/q39b/simplified.txt | 20 +-
.../q4.native_datafusion/explain.txt | 172 ++---
.../q4.native_datafusion/extended.txt | 40 +-
.../q4.native_datafusion/simplified.txt | 98 +--
.../q4.native_iceberg_compat/explain.txt | 8 +-
.../q4.native_iceberg_compat/extended.txt | 4 +-
.../q4.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4/q4/explain.txt | 8 +-
.../approved-plans-v1_4/q4/extended.txt | 4 +-
.../approved-plans-v1_4/q4/simplified.txt | 16 +-
.../q40.native_datafusion/explain.txt | 8 +-
.../q40.native_datafusion/extended.txt | 4 +-
.../q40.native_datafusion/simplified.txt | 86 +--
.../q40.native_iceberg_compat/explain.txt | 4 +-
.../q40.native_iceberg_compat/extended.txt | 2 +-
.../q40.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q40/explain.txt | 4 +-
.../approved-plans-v1_4/q40/extended.txt | 2 +-
.../approved-plans-v1_4/q40/simplified.txt | 8 +-
.../q41.native_datafusion/explain.txt | 4 +-
.../q41.native_datafusion/extended.txt | 2 +-
.../q41.native_datafusion/simplified.txt | 38 +-
.../q41.native_iceberg_compat/explain.txt | 4 +-
.../q41.native_iceberg_compat/extended.txt | 2 +-
.../q41.native_iceberg_compat/simplified.txt | 38 +-
.../approved-plans-v1_4/q41/explain.txt | 4 +-
.../approved-plans-v1_4/q41/extended.txt | 2 +-
.../approved-plans-v1_4/q41/simplified.txt | 38 +-
.../q42.native_datafusion/explain.txt | 4 +-
.../q42.native_datafusion/extended.txt | 2 +-
.../q42.native_datafusion/simplified.txt | 40 +-
.../q43.native_datafusion/explain.txt | 4 +-
.../q43.native_datafusion/extended.txt | 2 +-
.../q43.native_datafusion/simplified.txt | 40 +-
.../q44.native_datafusion/explain.txt | 40 +-
.../q44.native_datafusion/extended.txt | 12 +-
.../q44.native_datafusion/simplified.txt | 64 +-
.../q44.native_iceberg_compat/explain.txt | 16 +-
.../q44.native_iceberg_compat/extended.txt | 4 +-
.../q44.native_iceberg_compat/simplified.txt | 12 +-
.../approved-plans-v1_4/q44/explain.txt | 16 +-
.../approved-plans-v1_4/q44/extended.txt | 4 +-
.../approved-plans-v1_4/q44/simplified.txt | 12 +-
.../q45.native_datafusion/explain.txt | 54 +-
.../q45.native_datafusion/extended.txt | 14 +-
.../q45.native_datafusion/simplified.txt | 56 +-
.../q45.native_iceberg_compat/explain.txt | 22 +-
.../q45.native_iceberg_compat/extended.txt | 4 +-
.../q45.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v1_4/q45/explain.txt | 22 +-
.../approved-plans-v1_4/q45/extended.txt | 4 +-
.../approved-plans-v1_4/q45/simplified.txt | 24 +-
.../q46.native_datafusion/explain.txt | 56 +-
.../q46.native_datafusion/extended.txt | 16 +-
.../q46.native_datafusion/simplified.txt | 56 +-
.../q46.native_iceberg_compat/explain.txt | 4 +-
.../q46.native_iceberg_compat/extended.txt | 2 +-
.../q46.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q46/explain.txt | 4 +-
.../approved-plans-v1_4/q46/extended.txt | 2 +-
.../approved-plans-v1_4/q46/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q47/explain.txt | 4 +-
.../approved-plans-v1_4/q47/extended.txt | 6 +-
.../approved-plans-v1_4/q47/simplified.txt | 8 +-
.../q48.native_datafusion/explain.txt | 44 +-
.../q48.native_datafusion/extended.txt | 12 +-
.../q48.native_datafusion/simplified.txt | 46 +-
.../q48.native_iceberg_compat/explain.txt | 4 +-
.../q48.native_iceberg_compat/extended.txt | 2 +-
.../q48.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q48/explain.txt | 4 +-
.../approved-plans-v1_4/q48/extended.txt | 2 +-
.../approved-plans-v1_4/q48/simplified.txt | 10 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q49/explain.txt | 4 +-
.../approved-plans-v1_4/q49/extended.txt | 2 +-
.../approved-plans-v1_4/q49/simplified.txt | 10 +-
.../q5.native_datafusion/explain.txt | 102 +--
.../q5.native_datafusion/extended.txt | 24 +-
.../q5.native_datafusion/simplified.txt | 86 +--
.../q5.native_iceberg_compat/explain.txt | 4 +-
.../q5.native_iceberg_compat/extended.txt | 2 +-
.../q5.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q5/explain.txt | 4 +-
.../approved-plans-v1_4/q5/extended.txt | 2 +-
.../approved-plans-v1_4/q5/simplified.txt | 10 +-
.../q50.native_datafusion/explain.txt | 40 +-
.../q50.native_datafusion/extended.txt | 12 +-
.../q50.native_datafusion/simplified.txt | 40 +-
.../q50.native_iceberg_compat/explain.txt | 4 +-
.../q50.native_iceberg_compat/extended.txt | 2 +-
.../q50.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q50/explain.txt | 4 +-
.../approved-plans-v1_4/q50/extended.txt | 2 +-
.../approved-plans-v1_4/q50/simplified.txt | 10 +-
.../q51.native_datafusion/explain.txt | 54 +-
.../q51.native_datafusion/extended.txt | 16 +-
.../q51.native_datafusion/simplified.txt | 130 ++--
.../q51.native_iceberg_compat/explain.txt | 4 +-
.../q51.native_iceberg_compat/extended.txt | 2 +-
.../q51.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q51/explain.txt | 4 +-
.../approved-plans-v1_4/q51/extended.txt | 2 +-
.../approved-plans-v1_4/q51/simplified.txt | 10 +-
.../q52.native_datafusion/explain.txt | 4 +-
.../q52.native_datafusion/extended.txt | 2 +-
.../q52.native_datafusion/simplified.txt | 40 +-
.../q53.native_datafusion/explain.txt | 40 +-
.../q53.native_datafusion/extended.txt | 12 +-
.../q53.native_datafusion/simplified.txt | 86 +--
.../q53.native_iceberg_compat/explain.txt | 4 +-
.../q53.native_iceberg_compat/extended.txt | 2 +-
.../q53.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q53/explain.txt | 4 +-
.../approved-plans-v1_4/q53/extended.txt | 2 +-
.../approved-plans-v1_4/q53/simplified.txt | 10 +-
.../q54.native_datafusion/explain.txt | 86 +--
.../q54.native_datafusion/extended.txt | 30 +-
.../q54.native_datafusion/simplified.txt | 116 ++--
.../q54.native_iceberg_compat/explain.txt | 16 +-
.../q54.native_iceberg_compat/extended.txt | 8 +-
.../q54.native_iceberg_compat/simplified.txt | 56 +-
.../approved-plans-v1_4/q54/explain.txt | 16 +-
.../approved-plans-v1_4/q54/extended.txt | 8 +-
.../approved-plans-v1_4/q54/simplified.txt | 56 +-
.../q55.native_datafusion/explain.txt | 4 +-
.../q55.native_datafusion/extended.txt | 2 +-
.../q55.native_datafusion/simplified.txt | 40 +-
.../q56.native_datafusion/explain.txt | 92 +--
.../q56.native_datafusion/extended.txt | 28 +-
.../q56.native_datafusion/simplified.txt | 72 ++-
.../q56.native_iceberg_compat/explain.txt | 4 +-
.../q56.native_iceberg_compat/extended.txt | 2 +-
.../q56.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q56/explain.txt | 4 +-
.../approved-plans-v1_4/q56/extended.txt | 2 +-
.../approved-plans-v1_4/q56/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q57/explain.txt | 4 +-
.../approved-plans-v1_4/q57/extended.txt | 6 +-
.../approved-plans-v1_4/q57/simplified.txt | 8 +-
.../q58.native_datafusion/explain.txt | 90 +--
.../q58.native_datafusion/extended.txt | 26 +-
.../q58.native_datafusion/simplified.txt | 88 +--
.../q58.native_iceberg_compat/explain.txt | 12 +-
.../q58.native_iceberg_compat/extended.txt | 8 +-
.../q58.native_iceberg_compat/simplified.txt | 54 +-
.../approved-plans-v1_4/q58/explain.txt | 12 +-
.../approved-plans-v1_4/q58/extended.txt | 8 +-
.../approved-plans-v1_4/q58/simplified.txt | 54 +-
.../q59.native_datafusion/explain.txt | 4 +-
.../q59.native_datafusion/extended.txt | 2 +-
.../q59.native_datafusion/simplified.txt | 86 +--
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 68 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 28 +-
.../approved-plans-v1_4/q6/explain.txt | 8 +-
.../approved-plans-v1_4/q6/extended.txt | 4 +-
.../approved-plans-v1_4/q6/simplified.txt | 28 +-
.../q60.native_datafusion/explain.txt | 92 +--
.../q60.native_datafusion/extended.txt | 28 +-
.../q60.native_datafusion/simplified.txt | 72 ++-
.../q60.native_iceberg_compat/explain.txt | 4 +-
.../q60.native_iceberg_compat/extended.txt | 2 +-
.../q60.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q60/explain.txt | 4 +-
.../approved-plans-v1_4/q60/extended.txt | 2 +-
.../approved-plans-v1_4/q60/simplified.txt | 10 +-
.../q61.native_datafusion/explain.txt | 96 +--
.../q61.native_datafusion/extended.txt | 28 +-
.../q61.native_datafusion/simplified.txt | 74 ++-
.../q61.native_iceberg_compat/explain.txt | 4 +-
.../q61.native_iceberg_compat/extended.txt | 2 +-
.../q61.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q61/explain.txt | 4 +-
.../approved-plans-v1_4/q61/extended.txt | 2 +-
.../approved-plans-v1_4/q61/simplified.txt | 10 +-
.../q62.native_datafusion/explain.txt | 4 +-
.../q62.native_datafusion/extended.txt | 2 +-
.../q62.native_datafusion/simplified.txt | 60 +-
.../q63.native_datafusion/explain.txt | 40 +-
.../q63.native_datafusion/extended.txt | 12 +-
.../q63.native_datafusion/simplified.txt | 86 +--
.../q63.native_iceberg_compat/explain.txt | 4 +-
.../q63.native_iceberg_compat/extended.txt | 2 +-
.../q63.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q63/explain.txt | 4 +-
.../approved-plans-v1_4/q63/extended.txt | 2 +-
.../approved-plans-v1_4/q63/simplified.txt | 10 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4/q64/explain.txt | 8 +-
.../approved-plans-v1_4/q64/extended.txt | 4 +-
.../approved-plans-v1_4/q64/simplified.txt | 16 +-
.../q65.native_datafusion/explain.txt | 68 +-
.../q65.native_datafusion/extended.txt | 16 +-
.../q65.native_datafusion/simplified.txt | 48 +-
.../q65.native_iceberg_compat/explain.txt | 4 +-
.../q65.native_iceberg_compat/extended.txt | 2 +-
.../q65.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q65/explain.txt | 4 +-
.../approved-plans-v1_4/q65/extended.txt | 2 +-
.../approved-plans-v1_4/q65/simplified.txt | 10 +-
.../q66.native_datafusion/explain.txt | 80 +--
.../q66.native_datafusion/extended.txt | 24 +-
.../q66.native_datafusion/simplified.txt | 62 +-
.../q66.native_iceberg_compat/explain.txt | 4 +-
.../q66.native_iceberg_compat/extended.txt | 2 +-
.../q66.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q66/explain.txt | 4 +-
.../approved-plans-v1_4/q66/extended.txt | 2 +-
.../approved-plans-v1_4/q66/simplified.txt | 8 +-
.../q67.native_datafusion/explain.txt | 44 +-
.../q67.native_datafusion/extended.txt | 12 +-
.../q67.native_datafusion/simplified.txt | 86 +--
.../q67.native_iceberg_compat/explain.txt | 4 +-
.../q67.native_iceberg_compat/extended.txt | 2 +-
.../q67.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q67/explain.txt | 4 +-
.../approved-plans-v1_4/q67/extended.txt | 2 +-
.../approved-plans-v1_4/q67/simplified.txt | 10 +-
.../q68.native_datafusion/explain.txt | 56 +-
.../q68.native_datafusion/extended.txt | 16 +-
.../q68.native_datafusion/simplified.txt | 56 +-
.../q68.native_iceberg_compat/explain.txt | 4 +-
.../q68.native_iceberg_compat/extended.txt | 2 +-
.../q68.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q68/explain.txt | 4 +-
.../approved-plans-v1_4/q68/extended.txt | 2 +-
.../approved-plans-v1_4/q68/simplified.txt | 10 +-
.../q69.native_datafusion/explain.txt | 58 +-
.../q69.native_datafusion/extended.txt | 16 +-
.../q69.native_datafusion/simplified.txt | 48 +-
.../q69.native_iceberg_compat/explain.txt | 34 +-
.../q69.native_iceberg_compat/extended.txt | 6 +-
.../q69.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v1_4/q69/explain.txt | 34 +-
.../approved-plans-v1_4/q69/extended.txt | 6 +-
.../approved-plans-v1_4/q69/simplified.txt | 34 +-
.../q7.native_datafusion/explain.txt | 44 +-
.../q7.native_datafusion/extended.txt | 12 +-
.../q7.native_datafusion/simplified.txt | 48 +-
.../q7.native_iceberg_compat/explain.txt | 4 +-
.../q7.native_iceberg_compat/extended.txt | 2 +-
.../q7.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q7/explain.txt | 4 +-
.../approved-plans-v1_4/q7/extended.txt | 2 +-
.../approved-plans-v1_4/q7/simplified.txt | 10 +-
.../q70.native_datafusion/explain.txt | 70 +-
.../q70.native_datafusion/extended.txt | 16 +-
.../q70.native_datafusion/simplified.txt | 136 ++--
.../q70.native_iceberg_compat/explain.txt | 8 +-
.../q70.native_iceberg_compat/extended.txt | 4 +-
.../q70.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v1_4/q70/explain.txt | 8 +-
.../approved-plans-v1_4/q70/extended.txt | 4 +-
.../approved-plans-v1_4/q70/simplified.txt | 14 +-
.../q71.native_datafusion/explain.txt | 56 +-
.../q71.native_datafusion/extended.txt | 16 +-
.../q71.native_datafusion/simplified.txt | 128 ++--
.../q71.native_iceberg_compat/explain.txt | 4 +-
.../q71.native_iceberg_compat/extended.txt | 2 +-
.../q71.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q71/explain.txt | 4 +-
.../approved-plans-v1_4/q71/extended.txt | 2 +-
.../approved-plans-v1_4/q71/simplified.txt | 10 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q72/explain.txt | 4 +-
.../approved-plans-v1_4/q72/extended.txt | 2 +-
.../approved-plans-v1_4/q72/simplified.txt | 10 +-
.../q73.native_datafusion/explain.txt | 50 +-
.../q73.native_datafusion/extended.txt | 14 +-
.../q73.native_datafusion/simplified.txt | 102 +--
.../q73.native_iceberg_compat/explain.txt | 4 +-
.../q73.native_iceberg_compat/extended.txt | 2 +-
.../q73.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q73/explain.txt | 4 +-
.../approved-plans-v1_4/q73/extended.txt | 2 +-
.../approved-plans-v1_4/q73/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4/q74/explain.txt | 8 +-
.../approved-plans-v1_4/q74/extended.txt | 4 +-
.../approved-plans-v1_4/q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v1_4/q75/explain.txt | 8 +-
.../approved-plans-v1_4/q75/extended.txt | 4 +-
.../approved-plans-v1_4/q75/simplified.txt | 16 +-
.../q76.native_datafusion/explain.txt | 4 +-
.../q76.native_datafusion/extended.txt | 2 +-
.../q76.native_datafusion/simplified.txt | 72 ++-
.../q77.native_datafusion/explain.txt | 140 ++--
.../q77.native_datafusion/extended.txt | 36 +-
.../q77.native_datafusion/simplified.txt | 82 +--
.../q77.native_iceberg_compat/explain.txt | 4 +-
.../q77.native_iceberg_compat/extended.txt | 2 +-
.../q77.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q77/explain.txt | 4 +-
.../approved-plans-v1_4/q77/extended.txt | 2 +-
.../approved-plans-v1_4/q77/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v1_4/q78/explain.txt | 4 +-
.../approved-plans-v1_4/q78/extended.txt | 2 +-
.../approved-plans-v1_4/q78/simplified.txt | 8 +-
.../q79.native_datafusion/explain.txt | 44 +-
.../q79.native_datafusion/extended.txt | 12 +-
.../q79.native_datafusion/simplified.txt | 48 +-
.../q79.native_iceberg_compat/explain.txt | 4 +-
.../q79.native_iceberg_compat/extended.txt | 2 +-
.../q79.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q79/explain.txt | 4 +-
.../approved-plans-v1_4/q79/extended.txt | 2 +-
.../approved-plans-v1_4/q79/simplified.txt | 10 +-
.../q8.native_datafusion/explain.txt | 36 +-
.../q8.native_datafusion/extended.txt | 10 +-
.../q8.native_datafusion/simplified.txt | 74 ++-
.../q8.native_iceberg_compat/explain.txt | 4 +-
.../q8.native_iceberg_compat/extended.txt | 2 +-
.../q8.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q8/explain.txt | 4 +-
.../approved-plans-v1_4/q8/extended.txt | 2 +-
.../approved-plans-v1_4/q8/simplified.txt | 10 +-
.../q80.native_datafusion/explain.txt | 8 +-
.../q80.native_datafusion/extended.txt | 4 +-
.../q80.native_datafusion/simplified.txt | 244 +++----
.../q80.native_iceberg_compat/explain.txt | 4 +-
.../q80.native_iceberg_compat/extended.txt | 2 +-
.../q80.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q80/explain.txt | 4 +-
.../approved-plans-v1_4/q80/extended.txt | 2 +-
.../approved-plans-v1_4/q80/simplified.txt | 10 +-
.../q81.native_datafusion/explain.txt | 80 +--
.../q81.native_datafusion/extended.txt | 20 +-
.../q81.native_datafusion/simplified.txt | 62 +-
.../q81.native_iceberg_compat/explain.txt | 4 +-
.../q81.native_iceberg_compat/extended.txt | 2 +-
.../q81.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q81/explain.txt | 4 +-
.../approved-plans-v1_4/q81/extended.txt | 2 +-
.../approved-plans-v1_4/q81/simplified.txt | 10 +-
.../q82.native_datafusion/explain.txt | 30 +-
.../q82.native_datafusion/extended.txt | 10 +-
.../q82.native_datafusion/simplified.txt | 84 +--
.../q82.native_iceberg_compat/explain.txt | 4 +-
.../q82.native_iceberg_compat/extended.txt | 2 +-
.../q82.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q82/explain.txt | 4 +-
.../approved-plans-v1_4/q82/extended.txt | 2 +-
.../approved-plans-v1_4/q82/simplified.txt | 10 +-
.../q83.native_datafusion/explain.txt | 80 +--
.../q83.native_datafusion/extended.txt | 22 +-
.../q83.native_datafusion/simplified.txt | 84 +--
.../q83.native_iceberg_compat/explain.txt | 8 +-
.../q83.native_iceberg_compat/extended.txt | 4 +-
.../q83.native_iceberg_compat/simplified.txt | 50 +-
.../approved-plans-v1_4/q83/explain.txt | 8 +-
.../approved-plans-v1_4/q83/extended.txt | 4 +-
.../approved-plans-v1_4/q83/simplified.txt | 50 +-
.../q84.native_datafusion/explain.txt | 4 +-
.../q84.native_datafusion/extended.txt | 2 +-
.../q84.native_datafusion/simplified.txt | 68 +-
.../q85.native_datafusion/explain.txt | 64 +-
.../q85.native_datafusion/extended.txt | 18 +-
.../q85.native_datafusion/simplified.txt | 68 +-
.../q85.native_iceberg_compat/explain.txt | 4 +-
.../q85.native_iceberg_compat/extended.txt | 2 +-
.../q85.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q85/explain.txt | 4 +-
.../approved-plans-v1_4/q85/extended.txt | 2 +-
.../approved-plans-v1_4/q85/simplified.txt | 10 +-
.../q86.native_datafusion/explain.txt | 36 +-
.../q86.native_datafusion/extended.txt | 10 +-
.../q86.native_datafusion/simplified.txt | 70 +-
.../q86.native_iceberg_compat/explain.txt | 4 +-
.../q86.native_iceberg_compat/extended.txt | 2 +-
.../q86.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q86/explain.txt | 4 +-
.../approved-plans-v1_4/q86/extended.txt | 2 +-
.../approved-plans-v1_4/q86/simplified.txt | 10 +-
.../q87.native_datafusion/explain.txt | 76 +--
.../q87.native_datafusion/extended.txt | 22 +-
.../q87.native_datafusion/simplified.txt | 102 +--
.../q87.native_iceberg_compat/explain.txt | 4 +-
.../q87.native_iceberg_compat/extended.txt | 2 +-
.../q87.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q87/explain.txt | 4 +-
.../approved-plans-v1_4/q87/extended.txt | 2 +-
.../approved-plans-v1_4/q87/simplified.txt | 10 +-
.../q88.native_datafusion/explain.txt | 46 +-
.../q88.native_datafusion/extended.txt | 16 +-
.../q88.native_datafusion/simplified.txt | 160 ++---
.../q89.native_datafusion/explain.txt | 40 +-
.../q89.native_datafusion/extended.txt | 12 +-
.../q89.native_datafusion/simplified.txt | 86 +--
.../q89.native_iceberg_compat/explain.txt | 4 +-
.../q89.native_iceberg_compat/extended.txt | 2 +-
.../q89.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q89/explain.txt | 4 +-
.../approved-plans-v1_4/q89/extended.txt | 2 +-
.../approved-plans-v1_4/q89/simplified.txt | 10 +-
.../q9.native_datafusion/explain.txt | 24 +-
.../q9.native_datafusion/extended.txt | 12 +-
.../q9.native_datafusion/simplified.txt | 94 +--
.../q9.native_iceberg_compat/explain.txt | 4 +-
.../q9.native_iceberg_compat/extended.txt | 2 +-
.../q9.native_iceberg_compat/simplified.txt | 4 +-
.../approved-plans-v1_4/q9/explain.txt | 4 +-
.../approved-plans-v1_4/q9/extended.txt | 2 +-
.../approved-plans-v1_4/q9/simplified.txt | 4 +-
.../q90.native_datafusion/explain.txt | 12 +-
.../q90.native_datafusion/extended.txt | 4 +-
.../q90.native_datafusion/simplified.txt | 46 +-
.../q91.native_datafusion/explain.txt | 60 +-
.../q91.native_datafusion/extended.txt | 18 +-
.../q91.native_datafusion/simplified.txt | 132 ++--
.../q91.native_iceberg_compat/explain.txt | 4 +-
.../q91.native_iceberg_compat/extended.txt | 2 +-
.../q91.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q91/explain.txt | 4 +-
.../approved-plans-v1_4/q91/extended.txt | 2 +-
.../approved-plans-v1_4/q91/simplified.txt | 10 +-
.../q92.native_datafusion/explain.txt | 50 +-
.../q92.native_datafusion/extended.txt | 12 +-
.../q92.native_datafusion/simplified.txt | 36 +-
.../q92.native_iceberg_compat/explain.txt | 4 +-
.../q92.native_iceberg_compat/extended.txt | 2 +-
.../q92.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q92/explain.txt | 4 +-
.../approved-plans-v1_4/q92/extended.txt | 2 +-
.../approved-plans-v1_4/q92/simplified.txt | 10 +-
.../q93.native_datafusion/explain.txt | 4 +-
.../q93.native_datafusion/extended.txt | 2 +-
.../q93.native_datafusion/simplified.txt | 46 +-
.../q94.native_datafusion/explain.txt | 8 +-
.../q94.native_datafusion/extended.txt | 4 +-
.../q94.native_datafusion/simplified.txt | 88 +--
.../q95.native_datafusion/explain.txt | 8 +-
.../q95.native_datafusion/extended.txt | 4 +-
.../q95.native_datafusion/simplified.txt | 114 ++--
.../q96.native_datafusion/explain.txt | 4 +-
.../q96.native_datafusion/extended.txt | 2 +-
.../q96.native_datafusion/simplified.txt | 52 +-
.../q97.native_datafusion/explain.txt | 24 +-
.../q97.native_datafusion/extended.txt | 8 +-
.../q97.native_datafusion/simplified.txt | 78 +--
.../q97.native_iceberg_compat/explain.txt | 4 +-
.../q97.native_iceberg_compat/extended.txt | 2 +-
.../q97.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q97/explain.txt | 4 +-
.../approved-plans-v1_4/q97/extended.txt | 2 +-
.../approved-plans-v1_4/q97/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 86 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v1_4/q98/explain.txt | 4 +-
.../approved-plans-v1_4/q98/extended.txt | 2 +-
.../approved-plans-v1_4/q98/simplified.txt | 10 +-
.../q99.native_datafusion/explain.txt | 4 +-
.../q99.native_datafusion/extended.txt | 2 +-
.../q99.native_datafusion/simplified.txt | 60 +-
.../q10a.native_datafusion/explain.txt | 56 +-
.../q10a.native_datafusion/extended.txt | 16 +-
.../q10a.native_datafusion/simplified.txt | 48 +-
.../q10a.native_iceberg_compat/explain.txt | 4 +-
.../q10a.native_iceberg_compat/extended.txt | 2 +-
.../q10a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q10a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q10a/extended.txt | 2 +-
.../q10a/simplified.txt | 10 +-
.../q11.native_datafusion/explain.txt | 114 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark3_5/q11/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q11/extended.txt | 4 +-
.../q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q12/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q12/extended.txt | 2 +-
.../q12/simplified.txt | 10 +-
.../q14.native_datafusion/explain.txt | 164 ++---
.../q14.native_datafusion/extended.txt | 104 +--
.../q14.native_datafusion/simplified.txt | 122 ++--
.../q14.native_iceberg_compat/explain.txt | 20 +-
.../q14.native_iceberg_compat/extended.txt | 16 +-
.../q14.native_iceberg_compat/simplified.txt | 54 +-
.../approved-plans-v2_7-spark3_5/q14/explain.txt | 20 +-
.../approved-plans-v2_7-spark3_5/q14/extended.txt | 16 +-
.../q14/simplified.txt | 54 +-
.../q14a.native_datafusion/explain.txt | 248 +++----
.../q14a.native_datafusion/extended.txt | 710 ++++++++++-----------
.../q14a.native_datafusion/simplified.txt | 518 +++++++--------
.../q14a.native_iceberg_compat/explain.txt | 12 +-
.../q14a.native_iceberg_compat/extended.txt | 80 +--
.../q14a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v2_7-spark3_5/q14a/explain.txt | 12 +-
.../approved-plans-v2_7-spark3_5/q14a/extended.txt | 80 +--
.../q14a/simplified.txt | 30 +-
.../q18a.native_datafusion/explain.txt | 220 +++----
.../q18a.native_datafusion/extended.txt | 72 +--
.../q18a.native_datafusion/simplified.txt | 136 ++--
.../q18a.native_iceberg_compat/explain.txt | 4 +-
.../q18a.native_iceberg_compat/extended.txt | 2 +-
.../q18a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q18a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q18a/extended.txt | 2 +-
.../q18a/simplified.txt | 10 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q20/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q20/extended.txt | 2 +-
.../q20/simplified.txt | 10 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 34 +-
.../q22.native_iceberg_compat/explain.txt | 22 +-
.../q22.native_iceberg_compat/extended.txt | 4 +-
.../q22.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v2_7-spark3_5/q22/explain.txt | 22 +-
.../approved-plans-v2_7-spark3_5/q22/extended.txt | 4 +-
.../q22/simplified.txt | 20 +-
.../q22a.native_datafusion/explain.txt | 96 +--
.../q22a.native_datafusion/extended.txt | 58 +-
.../q22a.native_datafusion/simplified.txt | 84 +--
.../q22a.native_iceberg_compat/explain.txt | 4 +-
.../q22a.native_iceberg_compat/extended.txt | 10 +-
.../q22a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q22a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q22a/extended.txt | 10 +-
.../q22a/simplified.txt | 10 +-
.../q24.native_datafusion/explain.txt | 58 +-
.../q24.native_datafusion/extended.txt | 18 +-
.../q24.native_datafusion/simplified.txt | 158 ++---
.../q24.native_iceberg_compat/explain.txt | 44 +-
.../q24.native_iceberg_compat/extended.txt | 4 +-
.../q24.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v2_7-spark3_5/q24/explain.txt | 44 +-
.../approved-plans-v2_7-spark3_5/q24/extended.txt | 4 +-
.../q24/simplified.txt | 24 +-
.../q27a.native_datafusion/explain.txt | 108 ++--
.../q27a.native_datafusion/extended.txt | 32 +-
.../q27a.native_datafusion/simplified.txt | 82 ++-
.../q27a.native_iceberg_compat/explain.txt | 4 +-
.../q27a.native_iceberg_compat/extended.txt | 2 +-
.../q27a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q27a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q27a/extended.txt | 2 +-
.../q27a/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q34/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q34/extended.txt | 2 +-
.../q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v2_7-spark3_5/q35/explain.txt | 36 +-
.../approved-plans-v2_7-spark3_5/q35/extended.txt | 6 +-
.../q35/simplified.txt | 34 +-
.../q35a.native_datafusion/explain.txt | 56 +-
.../q35a.native_datafusion/extended.txt | 16 +-
.../q35a.native_datafusion/simplified.txt | 48 +-
.../q35a.native_iceberg_compat/explain.txt | 4 +-
.../q35a.native_iceberg_compat/extended.txt | 2 +-
.../q35a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q35a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q35a/extended.txt | 2 +-
.../q35a/simplified.txt | 10 +-
.../q36a.native_datafusion/explain.txt | 72 +--
.../q36a.native_datafusion/extended.txt | 36 +-
.../q36a.native_datafusion/simplified.txt | 140 ++--
.../q36a.native_iceberg_compat/explain.txt | 4 +-
.../q36a.native_iceberg_compat/extended.txt | 6 +-
.../q36a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q36a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q36a/extended.txt | 6 +-
.../q36a/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q47/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q47/extended.txt | 6 +-
.../q47/simplified.txt | 8 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q49/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q49/extended.txt | 2 +-
.../q49/simplified.txt | 10 +-
.../q51a.native_datafusion/explain.txt | 104 +--
.../q51a.native_datafusion/extended.txt | 68 +-
.../q51a.native_datafusion/simplified.txt | 214 ++++---
.../q51a.native_iceberg_compat/explain.txt | 4 +-
.../q51a.native_iceberg_compat/extended.txt | 8 +-
.../q51a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q51a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q51a/extended.txt | 8 +-
.../q51a/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q57/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q57/extended.txt | 6 +-
.../q57/simplified.txt | 8 +-
.../q5a.native_datafusion/explain.txt | 134 ++--
.../q5a.native_datafusion/extended.txt | 78 +--
.../q5a.native_datafusion/simplified.txt | 316 ++++-----
.../q5a.native_iceberg_compat/explain.txt | 4 +-
.../q5a.native_iceberg_compat/extended.txt | 6 +-
.../q5a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q5a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q5a/extended.txt | 6 +-
.../q5a/simplified.txt | 10 +-
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 68 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 28 +-
.../approved-plans-v2_7-spark3_5/q6/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q6/extended.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q6/simplified.txt | 28 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark3_5/q64/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q64/extended.txt | 4 +-
.../q64/simplified.txt | 16 +-
.../q67a.native_datafusion/explain.txt | 156 ++---
.../q67a.native_datafusion/extended.txt | 108 ++--
.../q67a.native_datafusion/simplified.txt | 270 ++++----
.../q67a.native_iceberg_compat/explain.txt | 4 +-
.../q67a.native_iceberg_compat/extended.txt | 18 +-
.../q67a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q67a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q67a/extended.txt | 18 +-
.../q67a/simplified.txt | 10 +-
.../q70a.native_datafusion/explain.txt | 98 +--
.../q70a.native_datafusion/extended.txt | 48 +-
.../q70a.native_datafusion/simplified.txt | 192 +++---
.../q70a.native_iceberg_compat/explain.txt | 8 +-
.../q70a.native_iceberg_compat/extended.txt | 12 +-
.../q70a.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v2_7-spark3_5/q70a/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q70a/extended.txt | 12 +-
.../q70a/simplified.txt | 14 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q72/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q72/extended.txt | 2 +-
.../q72/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark3_5/q74/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q74/extended.txt | 4 +-
.../q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark3_5/q75/explain.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q75/extended.txt | 4 +-
.../q75/simplified.txt | 16 +-
.../q77a.native_datafusion/explain.txt | 172 ++---
.../q77a.native_datafusion/extended.txt | 114 ++--
.../q77a.native_datafusion/simplified.txt | 328 +++++-----
.../q77a.native_iceberg_compat/explain.txt | 4 +-
.../q77a.native_iceberg_compat/extended.txt | 6 +-
.../q77a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q77a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q77a/extended.txt | 6 +-
.../q77a/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark3_5/q78/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q78/extended.txt | 2 +-
.../q78/simplified.txt | 8 +-
.../q80a.native_datafusion/explain.txt | 8 +-
.../q80a.native_datafusion/extended.txt | 8 +-
.../q80a.native_datafusion/simplified.txt | 268 ++++----
.../q80a.native_iceberg_compat/explain.txt | 4 +-
.../q80a.native_iceberg_compat/extended.txt | 6 +-
.../q80a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q80a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q80a/extended.txt | 6 +-
.../q80a/simplified.txt | 10 +-
.../q86a.native_datafusion/explain.txt | 64 +-
.../q86a.native_datafusion/extended.txt | 30 +-
.../q86a.native_datafusion/simplified.txt | 124 ++--
.../q86a.native_iceberg_compat/explain.txt | 4 +-
.../q86a.native_iceberg_compat/extended.txt | 6 +-
.../q86a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q86a/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q86a/extended.txt | 6 +-
.../q86a/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 84 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark3_5/q98/explain.txt | 4 +-
.../approved-plans-v2_7-spark3_5/q98/extended.txt | 2 +-
.../q98/simplified.txt | 10 +-
.../q10a.native_datafusion/explain.txt | 56 +-
.../q10a.native_datafusion/extended.txt | 16 +-
.../q10a.native_datafusion/simplified.txt | 48 +-
.../q10a.native_iceberg_compat/explain.txt | 4 +-
.../q10a.native_iceberg_compat/extended.txt | 2 +-
.../q10a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q10a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q10a/extended.txt | 2 +-
.../q10a/simplified.txt | 10 +-
.../q11.native_datafusion/explain.txt | 114 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark4_0/q11/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q11/extended.txt | 4 +-
.../q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q12/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q12/extended.txt | 2 +-
.../q12/simplified.txt | 10 +-
.../q14.native_datafusion/explain.txt | 164 ++---
.../q14.native_datafusion/extended.txt | 104 +--
.../q14.native_datafusion/simplified.txt | 126 ++--
.../q14.native_iceberg_compat/explain.txt | 20 +-
.../q14.native_iceberg_compat/extended.txt | 16 +-
.../q14.native_iceberg_compat/simplified.txt | 58 +-
.../approved-plans-v2_7-spark4_0/q14/explain.txt | 20 +-
.../approved-plans-v2_7-spark4_0/q14/extended.txt | 16 +-
.../q14/simplified.txt | 58 +-
.../q14a.native_datafusion/explain.txt | 248 +++----
.../q14a.native_datafusion/extended.txt | 710 ++++++++++-----------
.../q14a.native_datafusion/simplified.txt | 518 +++++++--------
.../q14a.native_iceberg_compat/explain.txt | 12 +-
.../q14a.native_iceberg_compat/extended.txt | 80 +--
.../q14a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v2_7-spark4_0/q14a/explain.txt | 12 +-
.../approved-plans-v2_7-spark4_0/q14a/extended.txt | 80 +--
.../q14a/simplified.txt | 30 +-
.../q18a.native_datafusion/explain.txt | 220 +++----
.../q18a.native_datafusion/extended.txt | 72 +--
.../q18a.native_datafusion/simplified.txt | 136 ++--
.../q18a.native_iceberg_compat/explain.txt | 4 +-
.../q18a.native_iceberg_compat/extended.txt | 2 +-
.../q18a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q18a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q18a/extended.txt | 2 +-
.../q18a/simplified.txt | 10 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q20/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q20/extended.txt | 2 +-
.../q20/simplified.txt | 10 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 34 +-
.../q22.native_iceberg_compat/explain.txt | 22 +-
.../q22.native_iceberg_compat/extended.txt | 4 +-
.../q22.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v2_7-spark4_0/q22/explain.txt | 22 +-
.../approved-plans-v2_7-spark4_0/q22/extended.txt | 4 +-
.../q22/simplified.txt | 20 +-
.../q22a.native_datafusion/explain.txt | 96 +--
.../q22a.native_datafusion/extended.txt | 58 +-
.../q22a.native_datafusion/simplified.txt | 84 +--
.../q22a.native_iceberg_compat/explain.txt | 4 +-
.../q22a.native_iceberg_compat/extended.txt | 10 +-
.../q22a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q22a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q22a/extended.txt | 10 +-
.../q22a/simplified.txt | 10 +-
.../q24.native_datafusion/explain.txt | 58 +-
.../q24.native_datafusion/extended.txt | 18 +-
.../q24.native_datafusion/simplified.txt | 158 ++---
.../q24.native_iceberg_compat/explain.txt | 44 +-
.../q24.native_iceberg_compat/extended.txt | 4 +-
.../q24.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v2_7-spark4_0/q24/explain.txt | 44 +-
.../approved-plans-v2_7-spark4_0/q24/extended.txt | 4 +-
.../q24/simplified.txt | 24 +-
.../q27a.native_datafusion/explain.txt | 108 ++--
.../q27a.native_datafusion/extended.txt | 32 +-
.../q27a.native_datafusion/simplified.txt | 82 ++-
.../q27a.native_iceberg_compat/explain.txt | 4 +-
.../q27a.native_iceberg_compat/extended.txt | 2 +-
.../q27a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q27a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q27a/extended.txt | 2 +-
.../q27a/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q34/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q34/extended.txt | 2 +-
.../q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v2_7-spark4_0/q35/explain.txt | 36 +-
.../approved-plans-v2_7-spark4_0/q35/extended.txt | 6 +-
.../q35/simplified.txt | 34 +-
.../q35a.native_datafusion/explain.txt | 56 +-
.../q35a.native_datafusion/extended.txt | 16 +-
.../q35a.native_datafusion/simplified.txt | 48 +-
.../q35a.native_iceberg_compat/explain.txt | 4 +-
.../q35a.native_iceberg_compat/extended.txt | 2 +-
.../q35a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q35a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q35a/extended.txt | 2 +-
.../q35a/simplified.txt | 10 +-
.../q36a.native_datafusion/explain.txt | 72 +--
.../q36a.native_datafusion/extended.txt | 36 +-
.../q36a.native_datafusion/simplified.txt | 140 ++--
.../q36a.native_iceberg_compat/explain.txt | 4 +-
.../q36a.native_iceberg_compat/extended.txt | 6 +-
.../q36a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q36a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q36a/extended.txt | 6 +-
.../q36a/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q47/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q47/extended.txt | 6 +-
.../q47/simplified.txt | 8 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q49/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q49/extended.txt | 2 +-
.../q49/simplified.txt | 10 +-
.../q51a.native_datafusion/explain.txt | 104 +--
.../q51a.native_datafusion/extended.txt | 68 +-
.../q51a.native_datafusion/simplified.txt | 214 ++++---
.../q51a.native_iceberg_compat/explain.txt | 4 +-
.../q51a.native_iceberg_compat/extended.txt | 8 +-
.../q51a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q51a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q51a/extended.txt | 8 +-
.../q51a/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q57/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q57/extended.txt | 6 +-
.../q57/simplified.txt | 8 +-
.../q5a.native_datafusion/explain.txt | 134 ++--
.../q5a.native_datafusion/extended.txt | 78 +--
.../q5a.native_datafusion/simplified.txt | 316 ++++-----
.../q5a.native_iceberg_compat/explain.txt | 4 +-
.../q5a.native_iceberg_compat/extended.txt | 6 +-
.../q5a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q5a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q5a/extended.txt | 6 +-
.../q5a/simplified.txt | 10 +-
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 70 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v2_7-spark4_0/q6/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q6/extended.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q6/simplified.txt | 30 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark4_0/q64/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q64/extended.txt | 4 +-
.../q64/simplified.txt | 16 +-
.../q67a.native_datafusion/explain.txt | 156 ++---
.../q67a.native_datafusion/extended.txt | 108 ++--
.../q67a.native_datafusion/simplified.txt | 270 ++++----
.../q67a.native_iceberg_compat/explain.txt | 4 +-
.../q67a.native_iceberg_compat/extended.txt | 18 +-
.../q67a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q67a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q67a/extended.txt | 18 +-
.../q67a/simplified.txt | 10 +-
.../q70a.native_datafusion/explain.txt | 98 +--
.../q70a.native_datafusion/extended.txt | 48 +-
.../q70a.native_datafusion/simplified.txt | 192 +++---
.../q70a.native_iceberg_compat/explain.txt | 8 +-
.../q70a.native_iceberg_compat/extended.txt | 12 +-
.../q70a.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v2_7-spark4_0/q70a/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q70a/extended.txt | 12 +-
.../q70a/simplified.txt | 14 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q72/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q72/extended.txt | 2 +-
.../q72/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark4_0/q74/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q74/extended.txt | 4 +-
.../q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7-spark4_0/q75/explain.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q75/extended.txt | 4 +-
.../q75/simplified.txt | 16 +-
.../q77a.native_datafusion/explain.txt | 172 ++---
.../q77a.native_datafusion/extended.txt | 114 ++--
.../q77a.native_datafusion/simplified.txt | 328 +++++-----
.../q77a.native_iceberg_compat/explain.txt | 4 +-
.../q77a.native_iceberg_compat/extended.txt | 6 +-
.../q77a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q77a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q77a/extended.txt | 6 +-
.../q77a/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7-spark4_0/q78/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q78/extended.txt | 2 +-
.../q78/simplified.txt | 8 +-
.../q80a.native_datafusion/explain.txt | 8 +-
.../q80a.native_datafusion/extended.txt | 8 +-
.../q80a.native_datafusion/simplified.txt | 268 ++++----
.../q80a.native_iceberg_compat/explain.txt | 4 +-
.../q80a.native_iceberg_compat/extended.txt | 6 +-
.../q80a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q80a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q80a/extended.txt | 6 +-
.../q80a/simplified.txt | 10 +-
.../q86a.native_datafusion/explain.txt | 64 +-
.../q86a.native_datafusion/extended.txt | 30 +-
.../q86a.native_datafusion/simplified.txt | 124 ++--
.../q86a.native_iceberg_compat/explain.txt | 4 +-
.../q86a.native_iceberg_compat/extended.txt | 6 +-
.../q86a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q86a/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q86a/extended.txt | 6 +-
.../q86a/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 84 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7-spark4_0/q98/explain.txt | 4 +-
.../approved-plans-v2_7-spark4_0/q98/extended.txt | 2 +-
.../q98/simplified.txt | 10 +-
.../q10a.native_datafusion/explain.txt | 56 +-
.../q10a.native_datafusion/extended.txt | 16 +-
.../q10a.native_datafusion/simplified.txt | 48 +-
.../q10a.native_iceberg_compat/explain.txt | 4 +-
.../q10a.native_iceberg_compat/extended.txt | 2 +-
.../q10a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q10a/explain.txt | 4 +-
.../approved-plans-v2_7/q10a/extended.txt | 2 +-
.../approved-plans-v2_7/q10a/simplified.txt | 10 +-
.../q11.native_datafusion/explain.txt | 114 ++--
.../q11.native_datafusion/extended.txt | 28 +-
.../q11.native_datafusion/simplified.txt | 70 +-
.../q11.native_iceberg_compat/explain.txt | 8 +-
.../q11.native_iceberg_compat/extended.txt | 4 +-
.../q11.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7/q11/explain.txt | 8 +-
.../approved-plans-v2_7/q11/extended.txt | 4 +-
.../approved-plans-v2_7/q11/simplified.txt | 16 +-
.../q12.native_datafusion/explain.txt | 34 +-
.../q12.native_datafusion/extended.txt | 10 +-
.../q12.native_datafusion/simplified.txt | 68 +-
.../q12.native_iceberg_compat/explain.txt | 4 +-
.../q12.native_iceberg_compat/extended.txt | 2 +-
.../q12.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q12/explain.txt | 4 +-
.../approved-plans-v2_7/q12/extended.txt | 2 +-
.../approved-plans-v2_7/q12/simplified.txt | 10 +-
.../q14.native_datafusion/explain.txt | 164 ++---
.../q14.native_datafusion/extended.txt | 104 +--
.../q14.native_datafusion/simplified.txt | 122 ++--
.../q14.native_iceberg_compat/explain.txt | 20 +-
.../q14.native_iceberg_compat/extended.txt | 16 +-
.../q14.native_iceberg_compat/simplified.txt | 54 +-
.../approved-plans-v2_7/q14/explain.txt | 20 +-
.../approved-plans-v2_7/q14/extended.txt | 16 +-
.../approved-plans-v2_7/q14/simplified.txt | 54 +-
.../q14a.native_datafusion/explain.txt | 248 +++----
.../q14a.native_datafusion/extended.txt | 710 ++++++++++-----------
.../q14a.native_datafusion/simplified.txt | 518 +++++++--------
.../q14a.native_iceberg_compat/explain.txt | 12 +-
.../q14a.native_iceberg_compat/extended.txt | 80 +--
.../q14a.native_iceberg_compat/simplified.txt | 30 +-
.../approved-plans-v2_7/q14a/explain.txt | 12 +-
.../approved-plans-v2_7/q14a/extended.txt | 80 +--
.../approved-plans-v2_7/q14a/simplified.txt | 30 +-
.../q18a.native_datafusion/explain.txt | 220 +++----
.../q18a.native_datafusion/extended.txt | 72 +--
.../q18a.native_datafusion/simplified.txt | 136 ++--
.../q18a.native_iceberg_compat/explain.txt | 4 +-
.../q18a.native_iceberg_compat/extended.txt | 2 +-
.../q18a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q18a/explain.txt | 4 +-
.../approved-plans-v2_7/q18a/extended.txt | 2 +-
.../approved-plans-v2_7/q18a/simplified.txt | 10 +-
.../q20.native_datafusion/explain.txt | 34 +-
.../q20.native_datafusion/extended.txt | 10 +-
.../q20.native_datafusion/simplified.txt | 68 +-
.../q20.native_iceberg_compat/explain.txt | 4 +-
.../q20.native_iceberg_compat/extended.txt | 2 +-
.../q20.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q20/explain.txt | 4 +-
.../approved-plans-v2_7/q20/extended.txt | 2 +-
.../approved-plans-v2_7/q20/simplified.txt | 10 +-
.../q22.native_datafusion/explain.txt | 38 +-
.../q22.native_datafusion/extended.txt | 10 +-
.../q22.native_datafusion/simplified.txt | 34 +-
.../q22.native_iceberg_compat/explain.txt | 22 +-
.../q22.native_iceberg_compat/extended.txt | 4 +-
.../q22.native_iceberg_compat/simplified.txt | 20 +-
.../approved-plans-v2_7/q22/explain.txt | 22 +-
.../approved-plans-v2_7/q22/extended.txt | 4 +-
.../approved-plans-v2_7/q22/simplified.txt | 20 +-
.../q22a.native_datafusion/explain.txt | 96 +--
.../q22a.native_datafusion/extended.txt | 58 +-
.../q22a.native_datafusion/simplified.txt | 84 +--
.../q22a.native_iceberg_compat/explain.txt | 4 +-
.../q22a.native_iceberg_compat/extended.txt | 10 +-
.../q22a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q22a/explain.txt | 4 +-
.../approved-plans-v2_7/q22a/extended.txt | 10 +-
.../approved-plans-v2_7/q22a/simplified.txt | 10 +-
.../q24.native_datafusion/explain.txt | 58 +-
.../q24.native_datafusion/extended.txt | 18 +-
.../q24.native_datafusion/simplified.txt | 158 ++---
.../q24.native_iceberg_compat/explain.txt | 44 +-
.../q24.native_iceberg_compat/extended.txt | 4 +-
.../q24.native_iceberg_compat/simplified.txt | 24 +-
.../approved-plans-v2_7/q24/explain.txt | 44 +-
.../approved-plans-v2_7/q24/extended.txt | 4 +-
.../approved-plans-v2_7/q24/simplified.txt | 24 +-
.../q27a.native_datafusion/explain.txt | 108 ++--
.../q27a.native_datafusion/extended.txt | 32 +-
.../q27a.native_datafusion/simplified.txt | 82 ++-
.../q27a.native_iceberg_compat/explain.txt | 4 +-
.../q27a.native_iceberg_compat/extended.txt | 2 +-
.../q27a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q27a/explain.txt | 4 +-
.../approved-plans-v2_7/q27a/extended.txt | 2 +-
.../approved-plans-v2_7/q27a/simplified.txt | 10 +-
.../q34.native_datafusion/explain.txt | 50 +-
.../q34.native_datafusion/extended.txt | 14 +-
.../q34.native_datafusion/simplified.txt | 102 +--
.../q34.native_iceberg_compat/explain.txt | 4 +-
.../q34.native_iceberg_compat/extended.txt | 2 +-
.../q34.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q34/explain.txt | 4 +-
.../approved-plans-v2_7/q34/extended.txt | 2 +-
.../approved-plans-v2_7/q34/simplified.txt | 10 +-
.../q35.native_datafusion/explain.txt | 60 +-
.../q35.native_datafusion/extended.txt | 16 +-
.../q35.native_datafusion/simplified.txt | 48 +-
.../q35.native_iceberg_compat/explain.txt | 36 +-
.../q35.native_iceberg_compat/extended.txt | 6 +-
.../q35.native_iceberg_compat/simplified.txt | 34 +-
.../approved-plans-v2_7/q35/explain.txt | 36 +-
.../approved-plans-v2_7/q35/extended.txt | 6 +-
.../approved-plans-v2_7/q35/simplified.txt | 34 +-
.../q35a.native_datafusion/explain.txt | 56 +-
.../q35a.native_datafusion/extended.txt | 16 +-
.../q35a.native_datafusion/simplified.txt | 48 +-
.../q35a.native_iceberg_compat/explain.txt | 4 +-
.../q35a.native_iceberg_compat/extended.txt | 2 +-
.../q35a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q35a/explain.txt | 4 +-
.../approved-plans-v2_7/q35a/extended.txt | 2 +-
.../approved-plans-v2_7/q35a/simplified.txt | 10 +-
.../q36a.native_datafusion/explain.txt | 72 +--
.../q36a.native_datafusion/extended.txt | 36 +-
.../q36a.native_datafusion/simplified.txt | 140 ++--
.../q36a.native_iceberg_compat/explain.txt | 4 +-
.../q36a.native_iceberg_compat/extended.txt | 6 +-
.../q36a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q36a/explain.txt | 4 +-
.../approved-plans-v2_7/q36a/extended.txt | 6 +-
.../approved-plans-v2_7/q36a/simplified.txt | 10 +-
.../q47.native_datafusion/explain.txt | 68 +-
.../q47.native_datafusion/extended.txt | 36 +-
.../q47.native_datafusion/simplified.txt | 116 ++--
.../q47.native_iceberg_compat/explain.txt | 4 +-
.../q47.native_iceberg_compat/extended.txt | 6 +-
.../q47.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7/q47/explain.txt | 4 +-
.../approved-plans-v2_7/q47/extended.txt | 6 +-
.../approved-plans-v2_7/q47/simplified.txt | 8 +-
.../q49.native_datafusion/explain.txt | 112 ++--
.../q49.native_datafusion/extended.txt | 28 +-
.../q49.native_datafusion/simplified.txt | 270 ++++----
.../q49.native_iceberg_compat/explain.txt | 4 +-
.../q49.native_iceberg_compat/extended.txt | 2 +-
.../q49.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q49/explain.txt | 4 +-
.../approved-plans-v2_7/q49/extended.txt | 2 +-
.../approved-plans-v2_7/q49/simplified.txt | 10 +-
.../q51a.native_datafusion/explain.txt | 104 +--
.../q51a.native_datafusion/extended.txt | 68 +-
.../q51a.native_datafusion/simplified.txt | 214 ++++---
.../q51a.native_iceberg_compat/explain.txt | 4 +-
.../q51a.native_iceberg_compat/extended.txt | 8 +-
.../q51a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q51a/explain.txt | 4 +-
.../approved-plans-v2_7/q51a/extended.txt | 8 +-
.../approved-plans-v2_7/q51a/simplified.txt | 10 +-
.../q57.native_datafusion/explain.txt | 68 +-
.../q57.native_datafusion/extended.txt | 36 +-
.../q57.native_datafusion/simplified.txt | 116 ++--
.../q57.native_iceberg_compat/explain.txt | 4 +-
.../q57.native_iceberg_compat/extended.txt | 6 +-
.../q57.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7/q57/explain.txt | 4 +-
.../approved-plans-v2_7/q57/extended.txt | 6 +-
.../approved-plans-v2_7/q57/simplified.txt | 8 +-
.../q5a.native_datafusion/explain.txt | 134 ++--
.../q5a.native_datafusion/extended.txt | 78 +--
.../q5a.native_datafusion/simplified.txt | 316 ++++-----
.../q5a.native_iceberg_compat/explain.txt | 4 +-
.../q5a.native_iceberg_compat/extended.txt | 6 +-
.../q5a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q5a/explain.txt | 4 +-
.../approved-plans-v2_7/q5a/extended.txt | 6 +-
.../approved-plans-v2_7/q5a/simplified.txt | 10 +-
.../q6.native_datafusion/explain.txt | 38 +-
.../q6.native_datafusion/extended.txt | 14 +-
.../q6.native_datafusion/simplified.txt | 68 +-
.../q6.native_iceberg_compat/explain.txt | 8 +-
.../q6.native_iceberg_compat/extended.txt | 4 +-
.../q6.native_iceberg_compat/simplified.txt | 28 +-
.../approved-plans-v2_7/q6/explain.txt | 8 +-
.../approved-plans-v2_7/q6/extended.txt | 4 +-
.../approved-plans-v2_7/q6/simplified.txt | 28 +-
.../q64.native_datafusion/explain.txt | 20 +-
.../q64.native_datafusion/extended.txt | 10 +-
.../q64.native_datafusion/simplified.txt | 396 ++++++------
.../q64.native_iceberg_compat/explain.txt | 8 +-
.../q64.native_iceberg_compat/extended.txt | 4 +-
.../q64.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7/q64/explain.txt | 8 +-
.../approved-plans-v2_7/q64/extended.txt | 4 +-
.../approved-plans-v2_7/q64/simplified.txt | 16 +-
.../q67a.native_datafusion/explain.txt | 154 ++---
.../q67a.native_datafusion/extended.txt | 108 ++--
.../q67a.native_datafusion/simplified.txt | 262 ++++----
.../q67a.native_iceberg_compat/explain.txt | 4 +-
.../q67a.native_iceberg_compat/extended.txt | 18 +-
.../q67a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q67a/explain.txt | 4 +-
.../approved-plans-v2_7/q67a/extended.txt | 18 +-
.../approved-plans-v2_7/q67a/simplified.txt | 10 +-
.../q70a.native_datafusion/explain.txt | 98 +--
.../q70a.native_datafusion/extended.txt | 48 +-
.../q70a.native_datafusion/simplified.txt | 190 +++---
.../q70a.native_iceberg_compat/explain.txt | 8 +-
.../q70a.native_iceberg_compat/extended.txt | 12 +-
.../q70a.native_iceberg_compat/simplified.txt | 14 +-
.../approved-plans-v2_7/q70a/explain.txt | 8 +-
.../approved-plans-v2_7/q70a/extended.txt | 12 +-
.../approved-plans-v2_7/q70a/simplified.txt | 14 +-
.../q72.native_datafusion/explain.txt | 80 +--
.../q72.native_datafusion/extended.txt | 22 +-
.../q72.native_datafusion/simplified.txt | 176 ++---
.../q72.native_iceberg_compat/explain.txt | 4 +-
.../q72.native_iceberg_compat/extended.txt | 2 +-
.../q72.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q72/explain.txt | 4 +-
.../approved-plans-v2_7/q72/extended.txt | 2 +-
.../approved-plans-v2_7/q72/simplified.txt | 10 +-
.../q74.native_datafusion/explain.txt | 114 ++--
.../q74.native_datafusion/extended.txt | 28 +-
.../q74.native_datafusion/simplified.txt | 70 +-
.../q74.native_iceberg_compat/explain.txt | 8 +-
.../q74.native_iceberg_compat/extended.txt | 4 +-
.../q74.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7/q74/explain.txt | 8 +-
.../approved-plans-v2_7/q74/extended.txt | 4 +-
.../approved-plans-v2_7/q74/simplified.txt | 16 +-
.../q75.native_datafusion/explain.txt | 88 +--
.../q75.native_datafusion/extended.txt | 30 +-
.../q75.native_datafusion/simplified.txt | 310 ++++-----
.../q75.native_iceberg_compat/explain.txt | 8 +-
.../q75.native_iceberg_compat/extended.txt | 4 +-
.../q75.native_iceberg_compat/simplified.txt | 16 +-
.../approved-plans-v2_7/q75/explain.txt | 8 +-
.../approved-plans-v2_7/q75/extended.txt | 4 +-
.../approved-plans-v2_7/q75/simplified.txt | 16 +-
.../q77a.native_datafusion/explain.txt | 172 ++---
.../q77a.native_datafusion/extended.txt | 114 ++--
.../q77a.native_datafusion/simplified.txt | 328 +++++-----
.../q77a.native_iceberg_compat/explain.txt | 4 +-
.../q77a.native_iceberg_compat/extended.txt | 6 +-
.../q77a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q77a/explain.txt | 4 +-
.../approved-plans-v2_7/q77a/extended.txt | 6 +-
.../approved-plans-v2_7/q77a/simplified.txt | 10 +-
.../q78.native_datafusion/explain.txt | 8 +-
.../q78.native_datafusion/extended.txt | 4 +-
.../q78.native_datafusion/simplified.txt | 12 +-
.../q78.native_iceberg_compat/explain.txt | 4 +-
.../q78.native_iceberg_compat/extended.txt | 2 +-
.../q78.native_iceberg_compat/simplified.txt | 8 +-
.../approved-plans-v2_7/q78/explain.txt | 4 +-
.../approved-plans-v2_7/q78/extended.txt | 2 +-
.../approved-plans-v2_7/q78/simplified.txt | 8 +-
.../q80a.native_datafusion/explain.txt | 8 +-
.../q80a.native_datafusion/extended.txt | 8 +-
.../q80a.native_datafusion/simplified.txt | 268 ++++----
.../q80a.native_iceberg_compat/explain.txt | 4 +-
.../q80a.native_iceberg_compat/extended.txt | 6 +-
.../q80a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q80a/explain.txt | 4 +-
.../approved-plans-v2_7/q80a/extended.txt | 6 +-
.../approved-plans-v2_7/q80a/simplified.txt | 10 +-
.../q86a.native_datafusion/explain.txt | 64 +-
.../q86a.native_datafusion/extended.txt | 30 +-
.../q86a.native_datafusion/simplified.txt | 124 ++--
.../q86a.native_iceberg_compat/explain.txt | 4 +-
.../q86a.native_iceberg_compat/extended.txt | 6 +-
.../q86a.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q86a/explain.txt | 4 +-
.../approved-plans-v2_7/q86a/extended.txt | 6 +-
.../approved-plans-v2_7/q86a/simplified.txt | 10 +-
.../q98.native_datafusion/explain.txt | 38 +-
.../q98.native_datafusion/extended.txt | 12 +-
.../q98.native_datafusion/simplified.txt | 84 +--
.../q98.native_iceberg_compat/explain.txt | 4 +-
.../q98.native_iceberg_compat/extended.txt | 2 +-
.../q98.native_iceberg_compat/simplified.txt | 10 +-
.../approved-plans-v2_7/q98/explain.txt | 4 +-
.../approved-plans-v2_7/q98/extended.txt | 2 +-
.../approved-plans-v2_7/q98/simplified.txt | 10 +-
.../org/apache/comet/CometExpressionSuite.scala | 7 +-
.../scala/org/apache/spark/sql/CometTestBase.scala | 1 -
3282 files changed, 51105 insertions(+), 46327 deletions(-)
diff --git a/common/src/main/scala/org/apache/comet/CometConf.scala b/common/src/main/scala/org/apache/comet/CometConf.scala
index fbd3e0156..6504c0294 100644
--- a/common/src/main/scala/org/apache/comet/CometConf.scala
+++ b/common/src/main/scala/org/apache/comet/CometConf.scala
@@ -304,9 +304,9 @@ object CometConf extends ShimCometConf {
"Whether to enable native columnar to row conversion. When enabled, Comet will use " +
"native Rust code to convert Arrow columnar data to Spark UnsafeRow format instead " +
"of the JVM implementation. This can improve performance for queries that need to " +
- "convert between columnar and row formats.")
+ "convert between columnar and row formats. This is an experimental feature.")
.booleanConf
- .createWithDefault(true)
+ .createWithDefault(false)
val COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED: ConfigEntry[Boolean] =
conf("spark.comet.exec.sortMergeJoinWithJoinFilter.enabled")
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/explain.txt
index 5e3f8e708..ba9b1ca1f 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/explain.txt
@@ -8,7 +8,7 @@ TakeOrderedAndProject (44)
: : +- * BroadcastHashJoin Inner BuildRight (28)
: : :- * Filter (11)
: : : +- * HashAggregate (10)
- : : : +- CometNativeColumnarToRow (9)
+ : : : +- * CometColumnarToRow (9)
: : : +- CometColumnarExchange (8)
: : : +- * HashAggregate (7)
: : : +- * Project (6)
@@ -20,11 +20,11 @@ TakeOrderedAndProject (44)
: : +- BroadcastExchange (27)
: : +- * Filter (26)
: : +- * HashAggregate (25)
- : : +- CometNativeColumnarToRow (24)
+ : : +- * CometColumnarToRow (24)
: : +- CometColumnarExchange (23)
: : +- * HashAggregate (22)
: : +- * HashAggregate (21)
- : : +- CometNativeColumnarToRow (20)
+ : : +- * CometColumnarToRow (20)
: : +- CometColumnarExchange (19)
: : +- * HashAggregate (18)
: : +- * Project (17)
@@ -34,12 +34,12 @@ TakeOrderedAndProject (44)
: : : +- Scan parquet spark_catalog.default.store_returns (12)
: : +- ReusedExchange (15)
: +- BroadcastExchange (34)
- : +- CometNativeColumnarToRow (33)
+ : +- * CometColumnarToRow (33)
: +- CometProject (32)
: +- CometFilter (31)
: +- CometNativeScan parquet spark_catalog.default.store (30)
+- BroadcastExchange (41)
- +- CometNativeColumnarToRow (40)
+ +- * CometColumnarToRow (40)
+- CometProject (39)
+- CometFilter (38)
+- CometNativeScan parquet spark_catalog.default.customer (37)
@@ -53,27 +53,27 @@ PartitionFilters: [isnotnull(sr_returned_date_sk#4), dynamicpruningexpression(sr
PushedFilters: [IsNotNull(sr_store_sk), IsNotNull(sr_customer_sk)]
ReadSchema: struct<sr_customer_sk:int,sr_store_sk:int,sr_return_amt:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 1]
+(2) ColumnarToRow [codegen id : 2]
Input [4]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4]
-(3) Filter [codegen id : 1]
+(3) Filter [codegen id : 2]
Input [4]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4]
Condition : (isnotnull(sr_store_sk#2) AND isnotnull(sr_customer_sk#1))
(4) ReusedExchange [Reuses operator id: 49]
Output [1]: [d_date_sk#6]
-(5) BroadcastHashJoin [codegen id : 1]
+(5) BroadcastHashJoin [codegen id : 2]
Left keys [1]: [sr_returned_date_sk#4]
Right keys [1]: [d_date_sk#6]
Join type: Inner
Join condition: None
-(6) Project [codegen id : 1]
+(6) Project [codegen id : 2]
Output [3]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3]
Input [5]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4, d_date_sk#6]
-(7) HashAggregate [codegen id : 1]
+(7) HashAggregate [codegen id : 2]
Input [3]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3]
Keys [2]: [sr_customer_sk#1, sr_store_sk#2]
Functions [1]: [partial_sum(UnscaledValue(sr_return_amt#3))]
@@ -84,17 +84,17 @@ Results [3]: [sr_customer_sk#1, sr_store_sk#2, sum#8]
Input [3]: [sr_customer_sk#1, sr_store_sk#2, sum#8]
Arguments: hashpartitioning(sr_customer_sk#1, sr_store_sk#2, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=1]
-(9) CometNativeColumnarToRow
+(9) CometColumnarToRow [codegen id : 9]
Input [3]: [sr_customer_sk#1, sr_store_sk#2, sum#8]
-(10) HashAggregate [codegen id : 5]
+(10) HashAggregate [codegen id : 9]
Input [3]: [sr_customer_sk#1, sr_store_sk#2, sum#8]
Keys [2]: [sr_customer_sk#1, sr_store_sk#2]
Functions [1]: [sum(UnscaledValue(sr_return_amt#3))]
Aggregate Attributes [1]: [sum(UnscaledValue(sr_return_amt#3))#9]
Results [3]: [sr_customer_sk#1 AS ctr_customer_sk#10, sr_store_sk#2 AS ctr_store_sk#11, MakeDecimal(sum(UnscaledValue(sr_return_amt#3))#9,17,2) AS ctr_total_return#12]
-(11) Filter [codegen id : 5]
+(11) Filter [codegen id : 9]
Input [3]: [ctr_customer_sk#10, ctr_store_sk#11, ctr_total_return#12]
Condition : isnotnull(ctr_total_return#12)
@@ -106,27 +106,27 @@ PartitionFilters: [isnotnull(sr_returned_date_sk#16), dynamicpruningexpression(s
PushedFilters: [IsNotNull(sr_store_sk)]
ReadSchema: struct<sr_customer_sk:int,sr_store_sk:int,sr_return_amt:decimal(7,2)>
-(13) ColumnarToRow [codegen id : 2]
+(13) ColumnarToRow [codegen id : 4]
Input [4]: [sr_customer_sk#13, sr_store_sk#14, sr_return_amt#15, sr_returned_date_sk#16]
-(14) Filter [codegen id : 2]
+(14) Filter [codegen id : 4]
Input [4]: [sr_customer_sk#13, sr_store_sk#14, sr_return_amt#15, sr_returned_date_sk#16]
Condition : isnotnull(sr_store_sk#14)
(15) ReusedExchange [Reuses operator id: 49]
Output [1]: [d_date_sk#17]
-(16) BroadcastHashJoin [codegen id : 2]
+(16) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [sr_returned_date_sk#16]
Right keys [1]: [d_date_sk#17]
Join type: Inner
Join condition: None
-(17) Project [codegen id : 2]
+(17) Project [codegen id : 4]
Output [3]: [sr_customer_sk#13, sr_store_sk#14, sr_return_amt#15]
Input [5]: [sr_customer_sk#13, sr_store_sk#14, sr_return_amt#15, sr_returned_date_sk#16, d_date_sk#17]
-(18) HashAggregate [codegen id : 2]
+(18) HashAggregate [codegen id : 4]
Input [3]: [sr_customer_sk#13, sr_store_sk#14, sr_return_amt#15]
Keys [2]: [sr_customer_sk#13, sr_store_sk#14]
Functions [1]: [partial_sum(UnscaledValue(sr_return_amt#15))]
@@ -137,17 +137,17 @@ Results [3]: [sr_customer_sk#13, sr_store_sk#14, sum#19]
Input [3]: [sr_customer_sk#13, sr_store_sk#14, sum#19]
Arguments: hashpartitioning(sr_customer_sk#13, sr_store_sk#14, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=2]
-(20) CometNativeColumnarToRow
+(20) CometColumnarToRow [codegen id : 5]
Input [3]: [sr_customer_sk#13, sr_store_sk#14, sum#19]
-(21) HashAggregate [codegen id : 3]
+(21) HashAggregate [codegen id : 5]
Input [3]: [sr_customer_sk#13, sr_store_sk#14, sum#19]
Keys [2]: [sr_customer_sk#13, sr_store_sk#14]
Functions [1]: [sum(UnscaledValue(sr_return_amt#15))]
Aggregate Attributes [1]: [sum(UnscaledValue(sr_return_amt#15))#9]
Results [2]: [sr_store_sk#14 AS ctr_store_sk#20, MakeDecimal(sum(UnscaledValue(sr_return_amt#15))#9,17,2) AS ctr_total_return#21]
-(22) HashAggregate [codegen id : 3]
+(22) HashAggregate [codegen id : 5]
Input [2]: [ctr_store_sk#20, ctr_total_return#21]
Keys [1]: [ctr_store_sk#20]
Functions [1]: [partial_avg(ctr_total_return#21)]
@@ -158,17 +158,17 @@ Results [3]: [ctr_store_sk#20, sum#24, count#25]
Input [3]: [ctr_store_sk#20, sum#24, count#25]
Arguments: hashpartitioning(ctr_store_sk#20, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=3]
-(24) CometNativeColumnarToRow
+(24) CometColumnarToRow [codegen id : 6]
Input [3]: [ctr_store_sk#20, sum#24, count#25]
-(25) HashAggregate [codegen id : 4]
+(25) HashAggregate [codegen id : 6]
Input [3]: [ctr_store_sk#20, sum#24, count#25]
Keys [1]: [ctr_store_sk#20]
Functions [1]: [avg(ctr_total_return#21)]
Aggregate Attributes [1]: [avg(ctr_total_return#21)#26]
Results [2]: [(avg(ctr_total_return#21)#26 * 1.2) AS (avg(ctr_total_return) * 1.2)#27, ctr_store_sk#20]
-(26) Filter [codegen id : 4]
+(26) Filter [codegen id : 6]
Input [2]: [(avg(ctr_total_return) * 1.2)#27, ctr_store_sk#20]
Condition : isnotnull((avg(ctr_total_return) * 1.2)#27)
@@ -176,13 +176,13 @@ Condition : isnotnull((avg(ctr_total_return) * 1.2)#27)
Input [2]: [(avg(ctr_total_return) * 1.2)#27, ctr_store_sk#20]
Arguments: HashedRelationBroadcastMode(List(cast(input[1, int, true] as bigint)),false), [plan_id=4]
-(28) BroadcastHashJoin [codegen id : 5]
+(28) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ctr_store_sk#11]
Right keys [1]: [ctr_store_sk#20]
Join type: Inner
Join condition: (cast(ctr_total_return#12 as decimal(24,7)) > (avg(ctr_total_return) * 1.2)#27)
-(29) Project [codegen id : 5]
+(29) Project [codegen id : 9]
Output [2]: [ctr_customer_sk#10, ctr_store_sk#11]
Input [5]: [ctr_customer_sk#10, ctr_store_sk#11, ctr_total_return#12, (avg(ctr_total_return) * 1.2)#27, ctr_store_sk#20]
@@ -201,20 +201,20 @@ Condition : ((staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharC
Input [2]: [s_store_sk#28, s_state#29]
Arguments: [s_store_sk#28], [s_store_sk#28]
-(33) CometNativeColumnarToRow
+(33) CometColumnarToRow [codegen id : 7]
Input [1]: [s_store_sk#28]
(34) BroadcastExchange
Input [1]: [s_store_sk#28]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=5]
-(35) BroadcastHashJoin [codegen id : 5]
+(35) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ctr_store_sk#11]
Right keys [1]: [s_store_sk#28]
Join type: Inner
Join condition: None
-(36) Project [codegen id : 5]
+(36) Project [codegen id : 9]
Output [1]: [ctr_customer_sk#10]
Input [3]: [ctr_customer_sk#10, ctr_store_sk#11, s_store_sk#28]
@@ -233,20 +233,20 @@ Condition : isnotnull(c_customer_sk#30)
Input [2]: [c_customer_sk#30, c_customer_id#31]
Arguments: [c_customer_sk#30, c_customer_id#32], [c_customer_sk#30, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_customer_id#31, 16, true, false, true) AS c_customer_id#32]
-(40) CometNativeColumnarToRow
+(40) CometColumnarToRow [codegen id : 8]
Input [2]: [c_customer_sk#30, c_customer_id#32]
(41) BroadcastExchange
Input [2]: [c_customer_sk#30, c_customer_id#32]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=6]
-(42) BroadcastHashJoin [codegen id : 5]
+(42) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ctr_customer_sk#10]
Right keys [1]: [c_customer_sk#30]
Join type: Inner
Join condition: None
-(43) Project [codegen id : 5]
+(43) Project [codegen id : 9]
Output [1]: [c_customer_id#32]
Input [3]: [ctr_customer_sk#10, c_customer_sk#30, c_customer_id#32]
@@ -258,7 +258,7 @@ Arguments: 100, [c_customer_id#32 ASC NULLS FIRST], [c_customer_id#32]
Subquery:1 Hosting operator id = 1 Hosting Expression = sr_returned_date_sk#4 IN dynamicpruning#5
BroadcastExchange (49)
-+- CometNativeColumnarToRow (48)
++- * CometColumnarToRow (48)
+- CometProject (47)
+- CometFilter (46)
+- CometNativeScan parquet spark_catalog.default.date_dim (45)
@@ -279,7 +279,7 @@ Condition : ((isnotnull(d_year#33) AND (d_year#33 = 2000)) AND isnotnull(d_date_
Input [2]: [d_date_sk#6, d_year#33]
Arguments: [d_date_sk#6], [d_date_sk#6]
-(48) CometNativeColumnarToRow
+(48) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#6]
(49) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/extended.txt
index 91b07a753..0622aad9d 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/extended.txt
@@ -7,7 +7,7 @@ TakeOrderedAndProject
: : +- BroadcastHashJoin
: : :- Filter
: : : +- HashAggregate
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometColumnarExchange
: : : +- HashAggregate
: : : +- Project
@@ -17,23 +17,23 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_returns [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
: : +- Filter
: : +- HashAggregate
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometColumnarExchange
: : +- HashAggregate
: : +- HashAggregate
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometColumnarExchange
: : +- HashAggregate
: : +- Project
@@ -43,17 +43,17 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.store_returns [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.store
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.customer
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/simplified.txt
index 1351d8c43..ed85c142a 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_datafusion/simplified.txt
@@ -1,5 +1,5 @@
TakeOrderedAndProject [c_customer_id]
- WholeStageCodegen (5)
+ WholeStageCodegen (9)
Project [c_customer_id]
BroadcastHashJoin [ctr_customer_sk,c_customer_sk]
Project [ctr_customer_sk]
@@ -8,10 +8,10 @@ TakeOrderedAndProject [c_customer_id]
BroadcastHashJoin [ctr_store_sk,ctr_store_sk,ctr_total_return,(avg(ctr_total_return) * 1.2)]
Filter [ctr_total_return]
HashAggregate [sr_customer_sk,sr_store_sk,sum] [sum(UnscaledValue(sr_return_amt)),ctr_customer_sk,ctr_store_sk,ctr_total_return,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [sr_customer_sk,sr_store_sk] #1
- WholeStageCodegen (1)
+ WholeStageCodegen (2)
HashAggregate [sr_customer_sk,sr_store_sk,sr_return_amt] [sum,sum]
Project [sr_customer_sk,sr_store_sk,sr_return_amt]
BroadcastHashJoin [sr_returned_date_sk,d_date_sk]
@@ -21,27 +21,29 @@ TakeOrderedAndProject [c_customer_id]
Scan parquet spark_catalog.default.store_returns [sr_customer_sk,sr_store_sk,sr_return_amt,sr_returned_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
ReusedExchange [d_date_sk] #2
InputAdapter
BroadcastExchange #3
- WholeStageCodegen (4)
+ WholeStageCodegen (6)
Filter [(avg(ctr_total_return) * 1.2)]
HashAggregate [ctr_store_sk,sum,count] [avg(ctr_total_return),(avg(ctr_total_return) * 1.2),sum,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [ctr_store_sk] #4
- WholeStageCodegen (3)
+ WholeStageCodegen (5)
HashAggregate [ctr_store_sk,ctr_total_return] [sum,count,sum,count]
HashAggregate [sr_customer_sk,sr_store_sk,sum] [sum(UnscaledValue(sr_return_amt)),ctr_store_sk,ctr_total_return,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [sr_customer_sk,sr_store_sk] #5
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
HashAggregate [sr_customer_sk,sr_store_sk,sr_return_amt] [sum,sum]
Project [sr_customer_sk,sr_store_sk,sr_return_amt]
BroadcastHashJoin [sr_returned_date_sk,d_date_sk]
@@ -54,13 +56,17 @@ TakeOrderedAndProject [c_customer_id]
ReusedExchange [d_date_sk] #2
InputAdapter
BroadcastExchange #6
- CometNativeColumnarToRow
- CometProject [s_store_sk]
- CometFilter [s_store_sk,s_state]
- CometNativeScan parquet spark_catalog.default.store [s_store_sk,s_state]
+ WholeStageCodegen (7)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [s_store_sk]
+ CometFilter [s_store_sk,s_state]
+ CometNativeScan parquet spark_catalog.default.store [s_store_sk,s_state]
InputAdapter
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [c_customer_id] [c_customer_sk,c_customer_id]
- CometFilter [c_customer_sk,c_customer_id]
- CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id]
+ WholeStageCodegen (8)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [c_customer_id] [c_customer_sk,c_customer_id]
+ CometFilter [c_customer_sk,c_customer_id]
+ CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/explain.txt
index 5cb423b2f..e66401996 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/explain.txt
@@ -236,7 +236,7 @@ Input [1]: [c_customer_id#28]
Subquery:1 Hosting operator id = 1 Hosting Expression = sr_returned_date_sk#4 IN dynamicpruning#5
BroadcastExchange (46)
-+- CometNativeColumnarToRow (45)
++- * CometColumnarToRow (45)
+- CometProject (44)
+- CometFilter (43)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (42)
@@ -257,7 +257,7 @@ Condition : ((isnotnull(d_year#7) AND (d_year#7 = 2000)) AND isnotnull(d_date_sk
Input [2]: [d_date_sk#6, d_year#7]
Arguments: [d_date_sk#6], [d_date_sk#6]
-(45) CometNativeColumnarToRow
+(45) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#6]
(46) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/extended.txt
index 0d0d80c7f..8aa14c43d 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/extended.txt
@@ -16,7 +16,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_returns
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/simplified.txt
index d69c52dda..3e1d6243f 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1.native_iceberg_compat/simplified.txt
@@ -18,10 +18,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_returns [sr_customer_sk,sr_store_sk,sr_return_amt,sr_returned_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk] #3
CometProject [d_date_sk]
CometFilter [d_date_sk,d_year]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/explain.txt
index 5cb423b2f..e66401996 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/explain.txt
@@ -236,7 +236,7 @@ Input [1]: [c_customer_id#28]
Subquery:1 Hosting operator id = 1 Hosting Expression = sr_returned_date_sk#4 IN dynamicpruning#5
BroadcastExchange (46)
-+- CometNativeColumnarToRow (45)
++- * CometColumnarToRow (45)
+- CometProject (44)
+- CometFilter (43)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (42)
@@ -257,7 +257,7 @@ Condition : ((isnotnull(d_year#7) AND (d_year#7 = 2000)) AND isnotnull(d_date_sk
Input [2]: [d_date_sk#6, d_year#7]
Arguments: [d_date_sk#6], [d_date_sk#6]
-(45) CometNativeColumnarToRow
+(45) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#6]
(46) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/extended.txt
index 0d0d80c7f..8aa14c43d 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/extended.txt
@@ -16,7 +16,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_returns
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/simplified.txt
index d69c52dda..3e1d6243f 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q1/simplified.txt
@@ -18,10 +18,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_returns [sr_customer_sk,sr_store_sk,sr_return_amt,sr_returned_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk] #3
CometProject [d_date_sk]
CometFilter [d_date_sk,d_year]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/explain.txt
index ae8af5960..29034bd45 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/explain.txt
@@ -1,7 +1,7 @@
== Physical Plan ==
TakeOrderedAndProject (45)
+- * HashAggregate (44)
- +- CometNativeColumnarToRow (43)
+ +- * CometColumnarToRow (43)
+- CometColumnarExchange (42)
+- * HashAggregate (41)
+- * Project (40)
@@ -13,7 +13,7 @@ TakeOrderedAndProject (45)
: : +- * BroadcastHashJoin ExistenceJoin(exists#1) BuildRight (24)
: : :- * BroadcastHashJoin ExistenceJoin(exists#2) BuildRight (17)
: : : :- * BroadcastHashJoin LeftSemi BuildRight (10)
- : : : : :- CometNativeColumnarToRow (3)
+ : : : : :- * CometColumnarToRow (3)
: : : : : +- CometFilter (2)
: : : : : +- CometNativeScan parquet spark_catalog.default.customer (1)
: : : : +- BroadcastExchange (9)
@@ -35,12 +35,12 @@ TakeOrderedAndProject (45)
: : : +- Scan parquet spark_catalog.default.catalog_sales (18)
: : +- ReusedExchange (20)
: +- BroadcastExchange (31)
- : +- CometNativeColumnarToRow (30)
+ : +- * CometColumnarToRow (30)
: +- CometProject (29)
: +- CometFilter (28)
: +- CometNativeScan parquet spark_catalog.default.customer_address (27)
+- BroadcastExchange (38)
- +- CometNativeColumnarToRow (37)
+ +- * CometColumnarToRow (37)
+- CometProject (36)
+- CometFilter (35)
+- CometNativeScan parquet spark_catalog.default.customer_demographics (34)
@@ -57,7 +57,7 @@ ReadSchema: struct<c_customer_sk:int,c_current_cdemo_sk:int,c_current_addr_sk:in
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Condition : (isnotnull(c_current_addr_sk#5) AND isnotnull(c_current_cdemo_sk#4))
-(3) CometNativeColumnarToRow
+(3) CometColumnarToRow [codegen id : 9]
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
(4) Scan parquet spark_catalog.default.store_sales
@@ -67,19 +67,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#7), dynamicpruningexpression(ss_sold_date_sk#7 IN dynamicpruning#8)]
ReadSchema: struct<ss_customer_sk:int>
-(5) ColumnarToRow [codegen id : 1]
+(5) ColumnarToRow [codegen id : 2]
Input [2]: [ss_customer_sk#6, ss_sold_date_sk#7]
(6) ReusedExchange [Reuses operator id: 50]
Output [1]: [d_date_sk#9]
-(7) BroadcastHashJoin [codegen id : 1]
+(7) BroadcastHashJoin [codegen id : 2]
Left keys [1]: [ss_sold_date_sk#7]
Right keys [1]: [d_date_sk#9]
Join type: Inner
Join condition: None
-(8) Project [codegen id : 1]
+(8) Project [codegen id : 2]
Output [1]: [ss_customer_sk#6]
Input [3]: [ss_customer_sk#6, ss_sold_date_sk#7, d_date_sk#9]
@@ -87,7 +87,7 @@ Input [3]: [ss_customer_sk#6, ss_sold_date_sk#7, d_date_sk#9]
Input [1]: [ss_customer_sk#6]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=1]
-(10) BroadcastHashJoin [codegen id : 4]
+(10) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ss_customer_sk#6]
Join type: LeftSemi
@@ -100,19 +100,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#11), dynamicpruningexpression(ws_sold_date_sk#11 IN dynamicpruning#8)]
ReadSchema: struct<ws_bill_customer_sk:int>
-(12) ColumnarToRow [codegen id : 2]
+(12) ColumnarToRow [codegen id : 4]
Input [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11]
(13) ReusedExchange [Reuses operator id: 50]
Output [1]: [d_date_sk#12]
-(14) BroadcastHashJoin [codegen id : 2]
+(14) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [ws_sold_date_sk#11]
Right keys [1]: [d_date_sk#12]
Join type: Inner
Join condition: None
-(15) Project [codegen id : 2]
+(15) Project [codegen id : 4]
Output [1]: [ws_bill_customer_sk#10]
Input [3]: [ws_bill_customer_sk#10, ws_sold_date_sk#11, d_date_sk#12]
@@ -120,7 +120,7 @@ Input [3]: [ws_bill_customer_sk#10, ws_sold_date_sk#11, d_date_sk#12]
Input [1]: [ws_bill_customer_sk#10]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2]
-(17) BroadcastHashJoin [codegen id : 4]
+(17) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ws_bill_customer_sk#10]
Join type: ExistenceJoin(exists#2)
@@ -133,19 +133,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#14), dynamicpruningexpression(cs_sold_date_sk#14 IN dynamicpruning#8)]
ReadSchema: struct<cs_ship_customer_sk:int>
-(19) ColumnarToRow [codegen id : 3]
+(19) ColumnarToRow [codegen id : 6]
Input [2]: [cs_ship_customer_sk#13, cs_sold_date_sk#14]
(20) ReusedExchange [Reuses operator id: 50]
Output [1]: [d_date_sk#15]
-(21) BroadcastHashJoin [codegen id : 3]
+(21) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [cs_sold_date_sk#14]
Right keys [1]: [d_date_sk#15]
Join type: Inner
Join condition: None
-(22) Project [codegen id : 3]
+(22) Project [codegen id : 6]
Output [1]: [cs_ship_customer_sk#13]
Input [3]: [cs_ship_customer_sk#13, cs_sold_date_sk#14, d_date_sk#15]
@@ -153,17 +153,17 @@ Input [3]: [cs_ship_customer_sk#13, cs_sold_date_sk#14, d_date_sk#15]
Input [1]: [cs_ship_customer_sk#13]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=3]
-(24) BroadcastHashJoin [codegen id : 4]
+(24) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [cs_ship_customer_sk#13]
Join type: ExistenceJoin(exists#1)
Join condition: None
-(25) Filter [codegen id : 4]
+(25) Filter [codegen id : 9]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
Condition : (exists#2 OR exists#1)
-(26) Project [codegen id : 4]
+(26) Project [codegen id : 9]
Output [2]: [c_current_cdemo_sk#4, c_current_addr_sk#5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
@@ -182,20 +182,20 @@ Condition : (ca_county#17 IN (Rush County,Toole County,Jefferson County,Dona Ana
Input [2]: [ca_address_sk#16, ca_county#17]
Arguments: [ca_address_sk#16], [ca_address_sk#16]
-(30) CometNativeColumnarToRow
+(30) CometColumnarToRow [codegen id : 7]
Input [1]: [ca_address_sk#16]
(31) BroadcastExchange
Input [1]: [ca_address_sk#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=4]
-(32) BroadcastHashJoin [codegen id : 4]
+(32) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [c_current_addr_sk#5]
Right keys [1]: [ca_address_sk#16]
Join type: Inner
Join condition: None
-(33) Project [codegen id : 4]
+(33) Project [codegen id : 9]
Output [1]: [c_current_cdemo_sk#4]
Input [3]: [c_current_cdemo_sk#4, c_current_addr_sk#5, ca_address_sk#16]
@@ -214,24 +214,24 @@ Condition : isnotnull(cd_demo_sk#18)
Input [9]: [cd_demo_sk#18, cd_gender#19, cd_marital_status#20, cd_education_status#21, cd_purchase_estimate#22, cd_credit_rating#23, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Arguments: [cd_demo_sk#18, cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26], [cd_demo_sk#18, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_gender#19, 1, true, false, true) AS cd_gender#27, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_ma [...]
-(37) CometNativeColumnarToRow
+(37) CometColumnarToRow [codegen id : 8]
Input [9]: [cd_demo_sk#18, cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
(38) BroadcastExchange
Input [9]: [cd_demo_sk#18, cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=5]
-(39) BroadcastHashJoin [codegen id : 4]
+(39) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [c_current_cdemo_sk#4]
Right keys [1]: [cd_demo_sk#18]
Join type: Inner
Join condition: None
-(40) Project [codegen id : 4]
+(40) Project [codegen id : 9]
Output [8]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Input [10]: [c_current_cdemo_sk#4, cd_demo_sk#18, cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
-(41) HashAggregate [codegen id : 4]
+(41) HashAggregate [codegen id : 9]
Input [8]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Keys [8]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Functions [1]: [partial_count(1)]
@@ -242,10 +242,10 @@ Results [9]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_pur
Input [9]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26, count#32]
Arguments: hashpartitioning(cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=6]
-(43) CometNativeColumnarToRow
+(43) CometColumnarToRow [codegen id : 10]
Input [9]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26, count#32]
-(44) HashAggregate [codegen id : 5]
+(44) HashAggregate [codegen id : 10]
Input [9]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26, count#32]
Keys [8]: [cd_gender#27, cd_marital_status#28, cd_education_status#29, cd_purchase_estimate#22, cd_credit_rating#30, cd_dep_count#24, cd_dep_employed_count#25, cd_dep_college_count#26]
Functions [1]: [count(1)]
@@ -260,7 +260,7 @@ Arguments: 100, [cd_gender#27 ASC NULLS FIRST, cd_marital_status#28 ASC NULLS FI
Subquery:1 Hosting operator id = 4 Hosting Expression = ss_sold_date_sk#7 IN dynamicpruning#8
BroadcastExchange (50)
-+- CometNativeColumnarToRow (49)
++- * CometColumnarToRow (49)
+- CometProject (48)
+- CometFilter (47)
+- CometNativeScan parquet spark_catalog.default.date_dim (46)
@@ -281,7 +281,7 @@ Condition : (((((isnotnull(d_year#40) AND isnotnull(d_moy#41)) AND (d_year#40 =
Input [3]: [d_date_sk#9, d_year#40, d_moy#41]
Arguments: [d_date_sk#9], [d_date_sk#9]
-(49) CometNativeColumnarToRow
+(49) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#9]
(50) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/extended.txt
index 40a8ef4a6..8935b6cc1 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/extended.txt
@@ -1,6 +1,6 @@
TakeOrderedAndProject
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
@@ -12,7 +12,7 @@ TakeOrderedAndProject
: : +- BroadcastHashJoin
: : :- BroadcastHashJoin
: : : :- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.customer
: : : : +- BroadcastExchange
@@ -22,12 +22,12 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -38,7 +38,7 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -49,17 +49,17 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.customer_address
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.customer_demographics
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/simplified.txt
index ff26eb68a..0cc108b0b 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_datafusion/simplified.txt
@@ -1,10 +1,10 @@
TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6]
- WholeStageCodegen (5)
+ WholeStageCodegen (10)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,count] [count(1),cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] #1
- WholeStageCodegen (4)
+ WholeStageCodegen (9)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] [count,count]
Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk]
@@ -15,13 +15,13 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
BroadcastHashJoin [c_customer_sk,cs_ship_customer_sk]
BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk]
BroadcastHashJoin [c_customer_sk,ss_customer_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk]
CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk]
InputAdapter
BroadcastExchange #2
- WholeStageCodegen (1)
+ WholeStageCodegen (2)
Project [ss_customer_sk]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -29,15 +29,17 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
Scan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
InputAdapter
ReusedExchange [d_date_sk] #3
InputAdapter
BroadcastExchange #4
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
Project [ws_bill_customer_sk]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -48,7 +50,7 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
ReusedExchange [d_date_sk] #3
InputAdapter
BroadcastExchange #5
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
Project [cs_ship_customer_sk]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -59,13 +61,17 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
ReusedExchange [d_date_sk] #3
InputAdapter
BroadcastExchange #6
- CometNativeColumnarToRow
- CometProject [ca_address_sk]
- CometFilter [ca_address_sk,ca_county]
- CometNativeScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
+ WholeStageCodegen (7)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [ca_address_sk]
+ CometFilter [ca_address_sk,ca_county]
+ CometNativeScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
InputAdapter
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometNativeScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ WholeStageCodegen (8)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometNativeScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/explain.txt
index c11b7ccdb..68bd670d8 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/explain.txt
@@ -37,12 +37,12 @@ TakeOrderedAndProject (47)
: : :- CometScan [native_iceberg_compat] parquet spark_catalog.default.catalog_sales (20)
: : +- ReusedExchange (21)
: +- BroadcastExchange (33)
- : +- CometNativeColumnarToRow (32)
+ : +- * CometColumnarToRow (32)
: +- CometProject (31)
: +- CometFilter (30)
: +- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address (29)
+- BroadcastExchange (40)
- +- CometNativeColumnarToRow (39)
+ +- * CometColumnarToRow (39)
+- CometProject (38)
+- CometFilter (37)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics (36)
@@ -103,7 +103,7 @@ Left output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Right output [1]: [ss_customer_sk#6]
Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi, BuildRight
-(12) CometColumnarToRow [codegen id : 3]
+(12) CometColumnarToRow [codegen id : 5]
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
(13) CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
@@ -132,7 +132,7 @@ Input [1]: [ws_bill_customer_sk#12]
Input [1]: [ws_bill_customer_sk#12]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=1]
-(19) BroadcastHashJoin [codegen id : 3]
+(19) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ws_bill_customer_sk#12]
Join type: ExistenceJoin(exists#2)
@@ -164,17 +164,17 @@ Input [1]: [cs_ship_customer_sk#16]
Input [1]: [cs_ship_customer_sk#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2]
-(26) BroadcastHashJoin [codegen id : 3]
+(26) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [cs_ship_customer_sk#16]
Join type: ExistenceJoin(exists#1)
Join condition: None
-(27) Filter [codegen id : 3]
+(27) Filter [codegen id : 5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
Condition : (exists#2 OR exists#1)
-(28) Project [codegen id : 3]
+(28) Project [codegen id : 5]
Output [2]: [c_current_cdemo_sk#4, c_current_addr_sk#5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
@@ -193,20 +193,20 @@ Condition : (ca_county#21 IN (Rush County,Toole County,Jefferson County,Dona Ana
Input [2]: [ca_address_sk#20, ca_county#21]
Arguments: [ca_address_sk#20], [ca_address_sk#20]
-(32) CometNativeColumnarToRow
+(32) CometColumnarToRow [codegen id : 3]
Input [1]: [ca_address_sk#20]
(33) BroadcastExchange
Input [1]: [ca_address_sk#20]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=3]
-(34) BroadcastHashJoin [codegen id : 3]
+(34) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_current_addr_sk#5]
Right keys [1]: [ca_address_sk#20]
Join type: Inner
Join condition: None
-(35) Project [codegen id : 3]
+(35) Project [codegen id : 5]
Output [1]: [c_current_cdemo_sk#4]
Input [3]: [c_current_cdemo_sk#4, c_current_addr_sk#5, ca_address_sk#20]
@@ -225,24 +225,24 @@ Condition : isnotnull(cd_demo_sk#22)
Input [9]: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30], [cd_demo_sk#22, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_gender#23, 1, true, false, true) AS cd_gender#31, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_ma [...]
-(39) CometNativeColumnarToRow
+(39) CometColumnarToRow [codegen id : 4]
Input [9]: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
(40) BroadcastExchange
Input [9]: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=4]
-(41) BroadcastHashJoin [codegen id : 3]
+(41) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_current_cdemo_sk#4]
Right keys [1]: [cd_demo_sk#22]
Join type: Inner
Join condition: None
-(42) Project [codegen id : 3]
+(42) Project [codegen id : 5]
Output [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Input [10]: [c_current_cdemo_sk#4, cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
-(43) HashAggregate [codegen id : 3]
+(43) HashAggregate [codegen id : 5]
Input [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Keys [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [1]: [partial_count(1)]
@@ -253,10 +253,10 @@ Results [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_pur
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
Arguments: hashpartitioning(cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=5]
-(45) CometColumnarToRow [codegen id : 4]
+(45) CometColumnarToRow [codegen id : 6]
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
-(46) HashAggregate [codegen id : 4]
+(46) HashAggregate [codegen id : 6]
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
Keys [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [1]: [count(1)]
@@ -271,7 +271,7 @@ Arguments: 100, [cd_gender#31 ASC NULLS FIRST, cd_marital_status#32 ASC NULLS FI
Subquery:1 Hosting operator id = 3 Hosting Expression = ss_sold_date_sk#7 IN dynamicpruning#8
BroadcastExchange (52)
-+- CometNativeColumnarToRow (51)
++- * CometColumnarToRow (51)
+- CometProject (50)
+- CometFilter (49)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (48)
@@ -292,7 +292,7 @@ Condition : (((((isnotnull(d_year#10) AND isnotnull(d_moy#11)) AND (d_year#10 =
Input [3]: [d_date_sk#9, d_year#10, d_moy#11]
Arguments: [d_date_sk#9], [d_date_sk#9]
-(51) CometNativeColumnarToRow
+(51) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#9]
(52) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/extended.txt
index 855ca74e0..a6f33d6f7 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/extended.txt
@@ -21,7 +21,7 @@ TakeOrderedAndProject
: : : : :- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -50,12 +50,12 @@ TakeOrderedAndProject
: : +- CometFilter
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/simplified.txt
index fd519f33e..e7193f87e 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10.native_iceberg_compat/simplified.txt
@@ -1,10 +1,10 @@
TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6]
- WholeStageCodegen (4)
+ WholeStageCodegen (6)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,count] [count(1),cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count]
CometColumnarToRow
InputAdapter
CometColumnarExchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] #1
- WholeStageCodegen (3)
+ WholeStageCodegen (5)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] [count,count]
Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk]
@@ -25,10 +25,12 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
CometBroadcastExchange [d_date_sk] #4
CometProject [d_date_sk]
CometFilter [d_date_sk,d_year,d_moy]
@@ -55,13 +57,17 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
ReusedExchange [d_date_sk] #4
InputAdapter
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [ca_address_sk]
- CometFilter [ca_address_sk,ca_county]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
+ WholeStageCodegen (3)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [ca_address_sk]
+ CometFilter [ca_address_sk,ca_county]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
InputAdapter
BroadcastExchange #8
- CometNativeColumnarToRow
- CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ WholeStageCodegen (4)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/explain.txt
index c11b7ccdb..68bd670d8 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/explain.txt
@@ -37,12 +37,12 @@ TakeOrderedAndProject (47)
: : :- CometScan [native_iceberg_compat] parquet spark_catalog.default.catalog_sales (20)
: : +- ReusedExchange (21)
: +- BroadcastExchange (33)
- : +- CometNativeColumnarToRow (32)
+ : +- * CometColumnarToRow (32)
: +- CometProject (31)
: +- CometFilter (30)
: +- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address (29)
+- BroadcastExchange (40)
- +- CometNativeColumnarToRow (39)
+ +- * CometColumnarToRow (39)
+- CometProject (38)
+- CometFilter (37)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics (36)
@@ -103,7 +103,7 @@ Left output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Right output [1]: [ss_customer_sk#6]
Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi, BuildRight
-(12) CometColumnarToRow [codegen id : 3]
+(12) CometColumnarToRow [codegen id : 5]
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
(13) CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
@@ -132,7 +132,7 @@ Input [1]: [ws_bill_customer_sk#12]
Input [1]: [ws_bill_customer_sk#12]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=1]
-(19) BroadcastHashJoin [codegen id : 3]
+(19) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ws_bill_customer_sk#12]
Join type: ExistenceJoin(exists#2)
@@ -164,17 +164,17 @@ Input [1]: [cs_ship_customer_sk#16]
Input [1]: [cs_ship_customer_sk#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2]
-(26) BroadcastHashJoin [codegen id : 3]
+(26) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [cs_ship_customer_sk#16]
Join type: ExistenceJoin(exists#1)
Join condition: None
-(27) Filter [codegen id : 3]
+(27) Filter [codegen id : 5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
Condition : (exists#2 OR exists#1)
-(28) Project [codegen id : 3]
+(28) Project [codegen id : 5]
Output [2]: [c_current_cdemo_sk#4, c_current_addr_sk#5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
@@ -193,20 +193,20 @@ Condition : (ca_county#21 IN (Rush County,Toole County,Jefferson County,Dona Ana
Input [2]: [ca_address_sk#20, ca_county#21]
Arguments: [ca_address_sk#20], [ca_address_sk#20]
-(32) CometNativeColumnarToRow
+(32) CometColumnarToRow [codegen id : 3]
Input [1]: [ca_address_sk#20]
(33) BroadcastExchange
Input [1]: [ca_address_sk#20]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=3]
-(34) BroadcastHashJoin [codegen id : 3]
+(34) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_current_addr_sk#5]
Right keys [1]: [ca_address_sk#20]
Join type: Inner
Join condition: None
-(35) Project [codegen id : 3]
+(35) Project [codegen id : 5]
Output [1]: [c_current_cdemo_sk#4]
Input [3]: [c_current_cdemo_sk#4, c_current_addr_sk#5, ca_address_sk#20]
@@ -225,24 +225,24 @@ Condition : isnotnull(cd_demo_sk#22)
Input [9]: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30], [cd_demo_sk#22, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_gender#23, 1, true, false, true) AS cd_gender#31, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_ma [...]
-(39) CometNativeColumnarToRow
+(39) CometColumnarToRow [codegen id : 4]
Input [9]: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
(40) BroadcastExchange
Input [9]: [cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=4]
-(41) BroadcastHashJoin [codegen id : 3]
+(41) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [c_current_cdemo_sk#4]
Right keys [1]: [cd_demo_sk#22]
Join type: Inner
Join condition: None
-(42) Project [codegen id : 3]
+(42) Project [codegen id : 5]
Output [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Input [10]: [c_current_cdemo_sk#4, cd_demo_sk#22, cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
-(43) HashAggregate [codegen id : 3]
+(43) HashAggregate [codegen id : 5]
Input [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Keys [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [1]: [partial_count(1)]
@@ -253,10 +253,10 @@ Results [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_pur
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
Arguments: hashpartitioning(cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=5]
-(45) CometColumnarToRow [codegen id : 4]
+(45) CometColumnarToRow [codegen id : 6]
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
-(46) HashAggregate [codegen id : 4]
+(46) HashAggregate [codegen id : 6]
Input [9]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#36]
Keys [8]: [cd_gender#31, cd_marital_status#32, cd_education_status#33, cd_purchase_estimate#26, cd_credit_rating#34, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [1]: [count(1)]
@@ -271,7 +271,7 @@ Arguments: 100, [cd_gender#31 ASC NULLS FIRST, cd_marital_status#32 ASC NULLS FI
Subquery:1 Hosting operator id = 3 Hosting Expression = ss_sold_date_sk#7 IN dynamicpruning#8
BroadcastExchange (52)
-+- CometNativeColumnarToRow (51)
++- * CometColumnarToRow (51)
+- CometProject (50)
+- CometFilter (49)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (48)
@@ -292,7 +292,7 @@ Condition : (((((isnotnull(d_year#10) AND isnotnull(d_moy#11)) AND (d_year#10 =
Input [3]: [d_date_sk#9, d_year#10, d_moy#11]
Arguments: [d_date_sk#9], [d_date_sk#9]
-(51) CometNativeColumnarToRow
+(51) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#9]
(52) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/extended.txt
index 855ca74e0..a6f33d6f7 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/extended.txt
@@ -21,7 +21,7 @@ TakeOrderedAndProject
: : : : :- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -50,12 +50,12 @@ TakeOrderedAndProject
: : +- CometFilter
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/simplified.txt
index fd519f33e..e7193f87e 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q10/simplified.txt
@@ -1,10 +1,10 @@
TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6]
- WholeStageCodegen (4)
+ WholeStageCodegen (6)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,count] [count(1),cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count]
CometColumnarToRow
InputAdapter
CometColumnarExchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] #1
- WholeStageCodegen (3)
+ WholeStageCodegen (5)
HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] [count,count]
Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk]
@@ -25,10 +25,12 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
CometBroadcastExchange [d_date_sk] #4
CometProject [d_date_sk]
CometFilter [d_date_sk,d_year,d_moy]
@@ -55,13 +57,17 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha
ReusedExchange [d_date_sk] #4
InputAdapter
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [ca_address_sk]
- CometFilter [ca_address_sk,ca_county]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
+ WholeStageCodegen (3)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [ca_address_sk]
+ CometFilter [ca_address_sk,ca_county]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
InputAdapter
BroadcastExchange #8
- CometNativeColumnarToRow
- CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ WholeStageCodegen (4)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometFilter [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/explain.txt
index 300b750cd..d697d27f1 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/explain.txt
@@ -8,14 +8,14 @@ TakeOrderedAndProject (80)
: : +- * BroadcastHashJoin Inner BuildRight (37)
: : :- * Filter (18)
: : : +- * HashAggregate (17)
- : : : +- CometNativeColumnarToRow (16)
+ : : : +- * CometColumnarToRow (16)
: : : +- CometColumnarExchange (15)
: : : +- * HashAggregate (14)
: : : +- * Project (13)
: : : +- * BroadcastHashJoin Inner BuildRight (12)
: : : :- * Project (10)
: : : : +- * BroadcastHashJoin Inner BuildRight (9)
- : : : : :- CometNativeColumnarToRow (4)
+ : : : : :- * CometColumnarToRow (4)
: : : : : +- CometProject (3)
: : : : : +- CometFilter (2)
: : : : : +- CometNativeScan parquet spark_catalog.default.customer (1)
@@ -26,14 +26,14 @@ TakeOrderedAndProject (80)
: : : +- ReusedExchange (11)
: : +- BroadcastExchange (36)
: : +- * HashAggregate (35)
- : : +- CometNativeColumnarToRow (34)
+ : : +- * CometColumnarToRow (34)
: : +- CometColumnarExchange (33)
: : +- * HashAggregate (32)
: : +- * Project (31)
: : +- * BroadcastHashJoin Inner BuildRight (30)
: : :- * Project (28)
: : : +- * BroadcastHashJoin Inner BuildRight (27)
- : : : :- CometNativeColumnarToRow (22)
+ : : : :- * CometColumnarToRow (22)
: : : : +- CometProject (21)
: : : : +- CometFilter (20)
: : : : +- CometNativeScan parquet spark_catalog.default.customer (19)
@@ -45,14 +45,14 @@ TakeOrderedAndProject (80)
: +- BroadcastExchange (57)
: +- * Filter (56)
: +- * HashAggregate (55)
- : +- CometNativeColumnarToRow (54)
+ : +- * CometColumnarToRow (54)
: +- CometColumnarExchange (53)
: +- * HashAggregate (52)
: +- * Project (51)
: +- * BroadcastHashJoin Inner BuildRight (50)
: :- * Project (48)
: : +- * BroadcastHashJoin Inner BuildRight (47)
- : : :- CometNativeColumnarToRow (42)
+ : : :- * CometColumnarToRow (42)
: : : +- CometProject (41)
: : : +- CometFilter (40)
: : : +- CometNativeScan parquet spark_catalog.default.customer (39)
@@ -63,14 +63,14 @@ TakeOrderedAndProject (80)
: +- ReusedExchange (49)
+- BroadcastExchange (77)
+- * HashAggregate (76)
- +- CometNativeColumnarToRow (75)
+ +- * CometColumnarToRow (75)
+- CometColumnarExchange (74)
+- * HashAggregate (73)
+- * Project (72)
+- * BroadcastHashJoin Inner BuildRight (71)
:- * Project (69)
: +- * BroadcastHashJoin Inner BuildRight (68)
- : :- CometNativeColumnarToRow (63)
+ : :- * CometColumnarToRow (63)
: : +- CometProject (62)
: : +- CometFilter (61)
: : +- CometNativeScan parquet spark_catalog.default.customer (60)
@@ -96,7 +96,7 @@ Condition : (isnotnull(c_customer_sk#1) AND isnotnull(staticinvoke(class org.apa
Input [8]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8]
Arguments: [c_customer_sk#1, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14], [c_customer_sk#1, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_customer_id#2, 16, true, false, true) AS c_customer_id#9, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_first_name#3, 20, true, false, true) AS [...]
-(4) CometNativeColumnarToRow
+(4) CometColumnarToRow [codegen id : 3]
Input [8]: [c_customer_sk#1, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14]
(5) Scan parquet spark_catalog.default.store_sales
@@ -118,30 +118,30 @@ Condition : isnotnull(ss_customer_sk#15)
Input [4]: [ss_customer_sk#15, ss_ext_discount_amt#16, ss_ext_list_price#17, ss_sold_date_sk#18]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=1]
-(9) BroadcastHashJoin [codegen id : 2]
+(9) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [c_customer_sk#1]
Right keys [1]: [ss_customer_sk#15]
Join type: Inner
Join condition: None
-(10) Project [codegen id : 2]
+(10) Project [codegen id : 3]
Output [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, ss_ext_discount_amt#16, ss_ext_list_price#17, ss_sold_date_sk#18]
Input [12]: [c_customer_sk#1, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, ss_customer_sk#15, ss_ext_discount_amt#16, ss_ext_list_price#17, ss_sold_date_sk#18]
(11) ReusedExchange [Reuses operator id: 84]
Output [2]: [d_date_sk#20, d_year#21]
-(12) BroadcastHashJoin [codegen id : 2]
+(12) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [ss_sold_date_sk#18]
Right keys [1]: [d_date_sk#20]
Join type: Inner
Join condition: None
-(13) Project [codegen id : 2]
+(13) Project [codegen id : 3]
Output [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, ss_ext_discount_amt#16, ss_ext_list_price#17, d_year#21]
Input [12]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, ss_ext_discount_amt#16, ss_ext_list_price#17, ss_sold_date_sk#18, d_date_sk#20, d_year#21]
-(14) HashAggregate [codegen id : 2]
+(14) HashAggregate [codegen id : 3]
Input [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, ss_ext_discount_amt#16, ss_ext_list_price#17, d_year#21]
Keys [8]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14]
Functions [1]: [partial_sum(UnscaledValue((ss_ext_list_price#17 - ss_ext_discount_amt#16)))]
@@ -152,17 +152,17 @@ Results [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_pre
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, sum#23]
Arguments: hashpartitioning(c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=2]
-(16) CometNativeColumnarToRow
+(16) CometColumnarToRow [codegen id : 16]
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, sum#23]
-(17) HashAggregate [codegen id : 12]
+(17) HashAggregate [codegen id : 16]
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14, sum#23]
Keys [8]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#21, c_preferred_cust_flag#12, c_birth_country#6, c_login#13, c_email_address#14]
Functions [1]: [sum(UnscaledValue((ss_ext_list_price#17 - ss_ext_discount_amt#16)))]
Aggregate Attributes [1]: [sum(UnscaledValue((ss_ext_list_price#17 - ss_ext_discount_amt#16)))#24]
Results [2]: [c_customer_id#9 AS customer_id#25, MakeDecimal(sum(UnscaledValue((ss_ext_list_price#17 - ss_ext_discount_amt#16)))#24,18,2) AS year_total#26]
-(18) Filter [codegen id : 12]
+(18) Filter [codegen id : 16]
Input [2]: [customer_id#25, year_total#26]
Condition : (isnotnull(year_total#26) AND (year_total#26 > 0.00))
@@ -181,7 +181,7 @@ Condition : (isnotnull(c_customer_sk#27) AND isnotnull(staticinvoke(class org.ap
Input [8]: [c_customer_sk#27, c_customer_id#28, c_first_name#29, c_last_name#30, c_preferred_cust_flag#31, c_birth_country#32, c_login#33, c_email_address#34]
Arguments: [c_customer_sk#27, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14], [c_customer_sk#27, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_customer_id#28, 16, true, false, true) AS c_customer_id#9, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_first_name#29, 20, true, false, tru [...]
-(22) CometNativeColumnarToRow
+(22) CometColumnarToRow [codegen id : 6]
Input [8]: [c_customer_sk#27, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14]
(23) Scan parquet spark_catalog.default.store_sales
@@ -192,10 +192,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#38), dynamicpruningexpression(ss_so
PushedFilters: [IsNotNull(ss_customer_sk)]
ReadSchema: struct<ss_customer_sk:int,ss_ext_discount_amt:decimal(7,2),ss_ext_list_price:decimal(7,2)>
-(24) ColumnarToRow [codegen id : 3]
+(24) ColumnarToRow [codegen id : 4]
Input [4]: [ss_customer_sk#35, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38]
-(25) Filter [codegen id : 3]
+(25) Filter [codegen id : 4]
Input [4]: [ss_customer_sk#35, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38]
Condition : isnotnull(ss_customer_sk#35)
@@ -203,30 +203,30 @@ Condition : isnotnull(ss_customer_sk#35)
Input [4]: [ss_customer_sk#35, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=3]
-(27) BroadcastHashJoin [codegen id : 4]
+(27) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [c_customer_sk#27]
Right keys [1]: [ss_customer_sk#35]
Join type: Inner
Join condition: None
-(28) Project [codegen id : 4]
+(28) Project [codegen id : 6]
Output [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38]
Input [12]: [c_customer_sk#27, c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, ss_customer_sk#35, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38]
(29) ReusedExchange [Reuses operator id: 88]
Output [2]: [d_date_sk#40, d_year#41]
-(30) BroadcastHashJoin [codegen id : 4]
+(30) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_sold_date_sk#38]
Right keys [1]: [d_date_sk#40]
Join type: Inner
Join condition: None
-(31) Project [codegen id : 4]
+(31) Project [codegen id : 6]
Output [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, ss_ext_discount_amt#36, ss_ext_list_price#37, d_year#41]
Input [12]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, ss_ext_discount_amt#36, ss_ext_list_price#37, ss_sold_date_sk#38, d_date_sk#40, d_year#41]
-(32) HashAggregate [codegen id : 4]
+(32) HashAggregate [codegen id : 6]
Input [10]: [c_customer_id#9, c_first_name#10, c_last_name#11, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, ss_ext_discount_amt#36, ss_ext_list_price#37, d_year#41]
Keys [8]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14]
Functions [1]: [partial_sum(UnscaledValue((ss_ext_list_price#37 - ss_ext_discount_amt#36)))]
@@ -237,10 +237,10 @@ Results [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_pre
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, sum#43]
Arguments: hashpartitioning(c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=4]
-(34) CometNativeColumnarToRow
+(34) CometColumnarToRow [codegen id : 7]
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, sum#43]
-(35) HashAggregate [codegen id : 5]
+(35) HashAggregate [codegen id : 7]
Input [9]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14, sum#43]
Keys [8]: [c_customer_id#9, c_first_name#10, c_last_name#11, d_year#41, c_preferred_cust_flag#12, c_birth_country#32, c_login#13, c_email_address#14]
Functions [1]: [sum(UnscaledValue((ss_ext_list_price#37 - ss_ext_discount_amt#36)))]
@@ -251,13 +251,13 @@ Results [3]: [c_customer_id#9 AS customer_id#44, c_preferred_cust_flag#12 AS cus
Input [3]: [customer_id#44, customer_preferred_cust_flag#45, year_total#46]
Arguments: HashedRelationBroadcastMode(List(input[0, string, true]),false), [plan_id=5]
-(37) BroadcastHashJoin [codegen id : 12]
+(37) BroadcastHashJoin [codegen id : 16]
Left keys [1]: [customer_id#25]
Right keys [1]: [customer_id#44]
Join type: Inner
Join condition: None
-(38) Project [codegen id : 12]
+(38) Project [codegen id : 16]
Output [4]: [customer_id#25, year_total#26, customer_preferred_cust_flag#45, year_total#46]
Input [5]: [customer_id#25, year_total#26, customer_id#44, customer_preferred_cust_flag#45, year_total#46]
@@ -276,7 +276,7 @@ Condition : (isnotnull(c_customer_sk#47) AND isnotnull(staticinvoke(class org.ap
Input [8]: [c_customer_sk#47, c_customer_id#48, c_first_name#49, c_last_name#50, c_preferred_cust_flag#51, c_birth_country#52, c_login#53, c_email_address#54]
Arguments: [c_customer_sk#47, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60], [c_customer_sk#47, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_customer_id#48, 16, true, false, true) AS c_customer_id#55, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_first_name#49, 20, true, false, t [...]
-(42) CometNativeColumnarToRow
+(42) CometColumnarToRow [codegen id : 10]
Input [8]: [c_customer_sk#47, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60]
(43) Scan parquet spark_catalog.default.web_sales
@@ -287,10 +287,10 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#64), dynamicpruningexpression(ws_so
PushedFilters: [IsNotNull(ws_bill_customer_sk)]
ReadSchema: struct<ws_bill_customer_sk:int,ws_ext_discount_amt:decimal(7,2),ws_ext_list_price:decimal(7,2)>
-(44) ColumnarToRow [codegen id : 6]
+(44) ColumnarToRow [codegen id : 8]
Input [4]: [ws_bill_customer_sk#61, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64]
-(45) Filter [codegen id : 6]
+(45) Filter [codegen id : 8]
Input [4]: [ws_bill_customer_sk#61, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64]
Condition : isnotnull(ws_bill_customer_sk#61)
@@ -298,30 +298,30 @@ Condition : isnotnull(ws_bill_customer_sk#61)
Input [4]: [ws_bill_customer_sk#61, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=6]
-(47) BroadcastHashJoin [codegen id : 7]
+(47) BroadcastHashJoin [codegen id : 10]
Left keys [1]: [c_customer_sk#47]
Right keys [1]: [ws_bill_customer_sk#61]
Join type: Inner
Join condition: None
-(48) Project [codegen id : 7]
+(48) Project [codegen id : 10]
Output [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64]
Input [12]: [c_customer_sk#47, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, ws_bill_customer_sk#61, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64]
(49) ReusedExchange [Reuses operator id: 84]
Output [2]: [d_date_sk#65, d_year#66]
-(50) BroadcastHashJoin [codegen id : 7]
+(50) BroadcastHashJoin [codegen id : 10]
Left keys [1]: [ws_sold_date_sk#64]
Right keys [1]: [d_date_sk#65]
Join type: Inner
Join condition: None
-(51) Project [codegen id : 7]
+(51) Project [codegen id : 10]
Output [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, ws_ext_discount_amt#62, ws_ext_list_price#63, d_year#66]
Input [12]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, ws_ext_discount_amt#62, ws_ext_list_price#63, ws_sold_date_sk#64, d_date_sk#65, d_year#66]
-(52) HashAggregate [codegen id : 7]
+(52) HashAggregate [codegen id : 10]
Input [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, ws_ext_discount_amt#62, ws_ext_list_price#63, d_year#66]
Keys [8]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66]
Functions [1]: [partial_sum(UnscaledValue((ws_ext_list_price#63 - ws_ext_discount_amt#62)))]
@@ -332,17 +332,17 @@ Results [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cus
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66, sum#68]
Arguments: hashpartitioning(c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=7]
-(54) CometNativeColumnarToRow
+(54) CometColumnarToRow [codegen id : 11]
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66, sum#68]
-(55) HashAggregate [codegen id : 8]
+(55) HashAggregate [codegen id : 11]
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66, sum#68]
Keys [8]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#52, c_login#59, c_email_address#60, d_year#66]
Functions [1]: [sum(UnscaledValue((ws_ext_list_price#63 - ws_ext_discount_amt#62)))]
Aggregate Attributes [1]: [sum(UnscaledValue((ws_ext_list_price#63 - ws_ext_discount_amt#62)))#69]
Results [2]: [c_customer_id#55 AS customer_id#70, MakeDecimal(sum(UnscaledValue((ws_ext_list_price#63 - ws_ext_discount_amt#62)))#69,18,2) AS year_total#71]
-(56) Filter [codegen id : 8]
+(56) Filter [codegen id : 11]
Input [2]: [customer_id#70, year_total#71]
Condition : (isnotnull(year_total#71) AND (year_total#71 > 0.00))
@@ -350,13 +350,13 @@ Condition : (isnotnull(year_total#71) AND (year_total#71 > 0.00))
Input [2]: [customer_id#70, year_total#71]
Arguments: HashedRelationBroadcastMode(List(input[0, string, true]),false), [plan_id=8]
-(58) BroadcastHashJoin [codegen id : 12]
+(58) BroadcastHashJoin [codegen id : 16]
Left keys [1]: [customer_id#25]
Right keys [1]: [customer_id#70]
Join type: Inner
Join condition: None
-(59) Project [codegen id : 12]
+(59) Project [codegen id : 16]
Output [5]: [customer_id#25, year_total#26, customer_preferred_cust_flag#45, year_total#46, year_total#71]
Input [6]: [customer_id#25, year_total#26, customer_preferred_cust_flag#45, year_total#46, customer_id#70, year_total#71]
@@ -375,7 +375,7 @@ Condition : (isnotnull(c_customer_sk#72) AND isnotnull(staticinvoke(class org.ap
Input [8]: [c_customer_sk#72, c_customer_id#73, c_first_name#74, c_last_name#75, c_preferred_cust_flag#76, c_birth_country#77, c_login#78, c_email_address#79]
Arguments: [c_customer_sk#72, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60], [c_customer_sk#72, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_customer_id#73, 16, true, false, true) AS c_customer_id#55, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c_first_name#74, 20, true, false, t [...]
-(63) CometNativeColumnarToRow
+(63) CometColumnarToRow [codegen id : 14]
Input [8]: [c_customer_sk#72, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60]
(64) Scan parquet spark_catalog.default.web_sales
@@ -386,10 +386,10 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#83), dynamicpruningexpression(ws_so
PushedFilters: [IsNotNull(ws_bill_customer_sk)]
ReadSchema: struct<ws_bill_customer_sk:int,ws_ext_discount_amt:decimal(7,2),ws_ext_list_price:decimal(7,2)>
-(65) ColumnarToRow [codegen id : 9]
+(65) ColumnarToRow [codegen id : 12]
Input [4]: [ws_bill_customer_sk#80, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83]
-(66) Filter [codegen id : 9]
+(66) Filter [codegen id : 12]
Input [4]: [ws_bill_customer_sk#80, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83]
Condition : isnotnull(ws_bill_customer_sk#80)
@@ -397,30 +397,30 @@ Condition : isnotnull(ws_bill_customer_sk#80)
Input [4]: [ws_bill_customer_sk#80, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=9]
-(68) BroadcastHashJoin [codegen id : 10]
+(68) BroadcastHashJoin [codegen id : 14]
Left keys [1]: [c_customer_sk#72]
Right keys [1]: [ws_bill_customer_sk#80]
Join type: Inner
Join condition: None
-(69) Project [codegen id : 10]
+(69) Project [codegen id : 14]
Output [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83]
Input [12]: [c_customer_sk#72, c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, ws_bill_customer_sk#80, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83]
(70) ReusedExchange [Reuses operator id: 88]
Output [2]: [d_date_sk#84, d_year#85]
-(71) BroadcastHashJoin [codegen id : 10]
+(71) BroadcastHashJoin [codegen id : 14]
Left keys [1]: [ws_sold_date_sk#83]
Right keys [1]: [d_date_sk#84]
Join type: Inner
Join condition: None
-(72) Project [codegen id : 10]
+(72) Project [codegen id : 14]
Output [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, ws_ext_discount_amt#81, ws_ext_list_price#82, d_year#85]
Input [12]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, ws_ext_discount_amt#81, ws_ext_list_price#82, ws_sold_date_sk#83, d_date_sk#84, d_year#85]
-(73) HashAggregate [codegen id : 10]
+(73) HashAggregate [codegen id : 14]
Input [10]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, ws_ext_discount_amt#81, ws_ext_list_price#82, d_year#85]
Keys [8]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85]
Functions [1]: [partial_sum(UnscaledValue((ws_ext_list_price#82 - ws_ext_discount_amt#81)))]
@@ -431,10 +431,10 @@ Results [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cus
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85, sum#87]
Arguments: hashpartitioning(c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=10]
-(75) CometNativeColumnarToRow
+(75) CometColumnarToRow [codegen id : 15]
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85, sum#87]
-(76) HashAggregate [codegen id : 11]
+(76) HashAggregate [codegen id : 15]
Input [9]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85, sum#87]
Keys [8]: [c_customer_id#55, c_first_name#56, c_last_name#57, c_preferred_cust_flag#58, c_birth_country#77, c_login#59, c_email_address#60, d_year#85]
Functions [1]: [sum(UnscaledValue((ws_ext_list_price#82 - ws_ext_discount_amt#81)))]
@@ -445,13 +445,13 @@ Results [2]: [c_customer_id#55 AS customer_id#88, MakeDecimal(sum(UnscaledValue(
Input [2]: [customer_id#88, year_total#89]
Arguments: HashedRelationBroadcastMode(List(input[0, string, true]),false), [plan_id=11]
-(78) BroadcastHashJoin [codegen id : 12]
+(78) BroadcastHashJoin [codegen id : 16]
Left keys [1]: [customer_id#25]
Right keys [1]: [customer_id#88]
Join type: Inner
Join condition: (CASE WHEN (year_total#71 > 0.00) THEN (year_total#89 / year_total#71) END > CASE WHEN (year_total#26 > 0.00) THEN (year_total#46 / year_total#26) END)
-(79) Project [codegen id : 12]
+(79) Project [codegen id : 16]
Output [1]: [customer_preferred_cust_flag#45]
Input [7]: [customer_id#25, year_total#26, customer_preferred_cust_flag#45, year_total#46, year_total#71, customer_id#88, year_total#89]
@@ -463,7 +463,7 @@ Arguments: 100, [customer_preferred_cust_flag#45 ASC NULLS FIRST], [customer_pre
Subquery:1 Hosting operator id = 5 Hosting Expression = ss_sold_date_sk#18 IN dynamicpruning#19
BroadcastExchange (84)
-+- CometNativeColumnarToRow (83)
++- * CometColumnarToRow (83)
+- CometFilter (82)
+- CometNativeScan parquet spark_catalog.default.date_dim (81)
@@ -479,7 +479,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#20, d_year#21]
Condition : ((isnotnull(d_year#21) AND (d_year#21 = 2001)) AND isnotnull(d_date_sk#20))
-(83) CometNativeColumnarToRow
+(83) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#20, d_year#21]
(84) BroadcastExchange
@@ -488,7 +488,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)
Subquery:2 Hosting operator id = 23 Hosting Expression = ss_sold_date_sk#38 IN dynamicpruning#39
BroadcastExchange (88)
-+- CometNativeColumnarToRow (87)
++- * CometColumnarToRow (87)
+- CometFilter (86)
+- CometNativeScan parquet spark_catalog.default.date_dim (85)
@@ -504,7 +504,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#40, d_year#41]
Condition : ((isnotnull(d_year#41) AND (d_year#41 = 2002)) AND isnotnull(d_date_sk#40))
-(87) CometNativeColumnarToRow
+(87) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#40, d_year#41]
(88) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/extended.txt
index 47aa9517c..0f9f19de7 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/extended.txt
@@ -7,14 +7,14 @@ TakeOrderedAndProject
: : +- BroadcastHashJoin
: : :- Filter
: : : +- HashAggregate
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometColumnarExchange
: : : +- HashAggregate
: : : +- Project
: : : +- BroadcastHashJoin
: : : :- Project
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.customer
@@ -24,23 +24,23 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
: : +- HashAggregate
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometColumnarExchange
: : +- HashAggregate
: : +- Project
: : +- BroadcastHashJoin
: : :- Project
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.customer
@@ -50,24 +50,24 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
: +- Filter
: +- HashAggregate
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometColumnarExchange
: +- HashAggregate
: +- Project
: +- BroadcastHashJoin
: :- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.customer
@@ -77,19 +77,19 @@ TakeOrderedAndProject
: : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : +- ReusedSubquery
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
+- BroadcastExchange
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
+- BroadcastHashJoin
:- Project
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.customer
@@ -99,7 +99,7 @@ TakeOrderedAndProject
: +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: +- ReusedSubquery
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/simplified.txt
index 80b29cda6..6c9e276c0 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_datafusion/simplified.txt
@@ -1,5 +1,5 @@
TakeOrderedAndProject [customer_preferred_cust_flag]
- WholeStageCodegen (12)
+ WholeStageCodegen (16)
Project [customer_preferred_cust_flag]
BroadcastHashJoin [customer_id,customer_id,year_total,year_total,year_total,year_total]
Project [customer_id,year_total,customer_preferred_cust_flag,year_total,year_total]
@@ -8,17 +8,17 @@ TakeOrderedAndProject [customer_preferred_cust_flag]
BroadcastHashJoin [customer_id,customer_id]
Filter [year_total]
HashAggregate [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,sum] [sum(UnscaledValue((ss_ext_list_price - ss_ext_discount_amt))),customer_id,year_total,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address] #1
- WholeStageCodegen (2)
+ WholeStageCodegen (3)
HashAggregate [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_list_price,ss_ext_discount_amt] [sum,sum]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_discount_amt,ss_ext_list_price,d_year]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
BroadcastHashJoin [c_customer_sk,ss_customer_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometProject [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_login,c_email_address] [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
@@ -31,65 +31,69 @@ TakeOrderedAndProject [customer_preferred_cust_flag]
Scan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
ReusedExchange [d_date_sk,d_year] #3
InputAdapter
BroadcastExchange #4
- WholeStageCodegen (5)
+ WholeStageCodegen (7)
HashAggregate [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,sum] [sum(UnscaledValue((ss_ext_list_price - ss_ext_discount_amt))),customer_id,customer_preferred_cust_flag,year_total,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address] #5
- WholeStageCodegen (4)
+ WholeStageCodegen (6)
HashAggregate [c_customer_id,c_first_name,c_last_name,d_year,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_list_price,ss_ext_discount_amt] [sum,sum]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_discount_amt,ss_ext_list_price,d_year]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
BroadcastHashJoin [c_customer_sk,ss_customer_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometProject [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_login,c_email_address] [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
InputAdapter
BroadcastExchange #6
- WholeStageCodegen (3)
+ WholeStageCodegen (4)
Filter [ss_customer_sk]
ColumnarToRow
InputAdapter
Scan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #7
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
ReusedExchange [d_date_sk,d_year] #7
InputAdapter
BroadcastExchange #8
- WholeStageCodegen (8)
+ WholeStageCodegen (11)
Filter [year_total]
HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,sum] [sum(UnscaledValue((ws_ext_list_price - ws_ext_discount_amt))),customer_id,year_total,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year] #9
- WholeStageCodegen (7)
+ WholeStageCodegen (10)
HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,ws_ext_list_price,ws_ext_discount_amt] [sum,sum]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,d_year]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,ws_sold_date_sk]
BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometProject [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_login,c_email_address] [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
InputAdapter
BroadcastExchange #10
- WholeStageCodegen (6)
+ WholeStageCodegen (8)
Filter [ws_bill_customer_sk]
ColumnarToRow
InputAdapter
@@ -99,25 +103,25 @@ TakeOrderedAndProject [customer_preferred_cust_flag]
ReusedExchange [d_date_sk,d_year] #3
InputAdapter
BroadcastExchange #11
- WholeStageCodegen (11)
+ WholeStageCodegen (15)
HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,sum] [sum(UnscaledValue((ws_ext_list_price - ws_ext_discount_amt))),customer_id,year_total,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year] #12
- WholeStageCodegen (10)
+ WholeStageCodegen (14)
HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,ws_ext_list_price,ws_ext_discount_amt] [sum,sum]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,d_year]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,ws_sold_date_sk]
BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometProject [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_login,c_email_address] [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
CometNativeScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address]
InputAdapter
BroadcastExchange #13
- WholeStageCodegen (9)
+ WholeStageCodegen (12)
Filter [ws_bill_customer_sk]
ColumnarToRow
InputAdapter
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/explain.txt
index 937c9228e..091ad6256 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/explain.txt
@@ -420,7 +420,7 @@ Input [1]: [customer_preferred_cust_flag#42]
Subquery:1 Hosting operator id = 4 Hosting Expression = ss_sold_date_sk#18 IN dynamicpruning#19
BroadcastExchange (77)
-+- CometNativeColumnarToRow (76)
++- * CometColumnarToRow (76)
+- CometFilter (75)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (74)
@@ -436,7 +436,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#20, d_year#21]
Condition : ((isnotnull(d_year#21) AND (d_year#21 = 2001)) AND isnotnull(d_date_sk#20))
-(76) CometNativeColumnarToRow
+(76) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#20, d_year#21]
(77) BroadcastExchange
@@ -445,7 +445,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)
Subquery:2 Hosting operator id = 21 Hosting Expression = ss_sold_date_sk#36 IN dynamicpruning#37
BroadcastExchange (81)
-+- CometNativeColumnarToRow (80)
++- * CometColumnarToRow (80)
+- CometFilter (79)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (78)
@@ -461,7 +461,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#38, d_year#39]
Condition : ((isnotnull(d_year#39) AND (d_year#39 = 2002)) AND isnotnull(d_date_sk#38))
-(80) CometNativeColumnarToRow
+(80) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#38, d_year#39]
(81) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/extended.txt
index 63858a837..781eae905 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/extended.txt
@@ -22,7 +22,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: : : +- CometBroadcastExchange
@@ -44,7 +44,7 @@ CometColumnarToRow
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: : +- CometBroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/simplified.txt
index 0cc605f69..4599ecf53 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11.native_iceberg_compat/simplified.txt
@@ -24,9 +24,11 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk,d_year] #4
CometFilter [d_date_sk,d_year]
CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
@@ -46,9 +48,11 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #8
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk,d_year] #9
CometFilter [d_date_sk,d_year]
CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/explain.txt
index 937c9228e..091ad6256 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/explain.txt
@@ -420,7 +420,7 @@ Input [1]: [customer_preferred_cust_flag#42]
Subquery:1 Hosting operator id = 4 Hosting Expression = ss_sold_date_sk#18 IN dynamicpruning#19
BroadcastExchange (77)
-+- CometNativeColumnarToRow (76)
++- * CometColumnarToRow (76)
+- CometFilter (75)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (74)
@@ -436,7 +436,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#20, d_year#21]
Condition : ((isnotnull(d_year#21) AND (d_year#21 = 2001)) AND isnotnull(d_date_sk#20))
-(76) CometNativeColumnarToRow
+(76) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#20, d_year#21]
(77) BroadcastExchange
@@ -445,7 +445,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)
Subquery:2 Hosting operator id = 21 Hosting Expression = ss_sold_date_sk#36 IN dynamicpruning#37
BroadcastExchange (81)
-+- CometNativeColumnarToRow (80)
++- * CometColumnarToRow (80)
+- CometFilter (79)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (78)
@@ -461,7 +461,7 @@ ReadSchema: struct<d_date_sk:int,d_year:int>
Input [2]: [d_date_sk#38, d_year#39]
Condition : ((isnotnull(d_year#39) AND (d_year#39 = 2002)) AND isnotnull(d_date_sk#38))
-(80) CometNativeColumnarToRow
+(80) CometColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#38, d_year#39]
(81) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/extended.txt
index 63858a837..781eae905 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/extended.txt
@@ -22,7 +22,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: : : +- CometBroadcastExchange
@@ -44,7 +44,7 @@ CometColumnarToRow
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
: : +- CometBroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/simplified.txt
index 0cc605f69..4599ecf53 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q11/simplified.txt
@@ -24,9 +24,11 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk,d_year] #4
CometFilter [d_date_sk,d_year]
CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
@@ -46,9 +48,11 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_ext_discount_amt,ss_ext_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #8
- CometNativeColumnarToRow
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [d_date_sk,d_year] #9
CometFilter [d_date_sk,d_year]
CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/explain.txt
index 34d1d3917..19d16c378 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/explain.txt
@@ -2,11 +2,11 @@
TakeOrderedAndProject (23)
+- * Project (22)
+- Window (21)
- +- CometNativeColumnarToRow (20)
+ +- * CometColumnarToRow (20)
+- CometSort (19)
+- CometColumnarExchange (18)
+- * HashAggregate (17)
- +- CometNativeColumnarToRow (16)
+ +- * CometColumnarToRow (16)
+- CometColumnarExchange (15)
+- * HashAggregate (14)
+- * Project (13)
@@ -17,7 +17,7 @@ TakeOrderedAndProject (23)
: : +- * ColumnarToRow (2)
: : +- Scan parquet spark_catalog.default.web_sales (1)
: +- BroadcastExchange (8)
- : +- CometNativeColumnarToRow (7)
+ : +- * CometColumnarToRow (7)
: +- CometProject (6)
: +- CometFilter (5)
: +- CometNativeScan parquet spark_catalog.default.item (4)
@@ -32,10 +32,10 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#3), dynamicpruningexpression(ws_sol
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int,ws_ext_sales_price:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 1]
+(2) ColumnarToRow [codegen id : 3]
Input [3]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3]
-(3) Filter [codegen id : 1]
+(3) Filter [codegen id : 3]
Input [3]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3]
Condition : isnotnull(ws_item_sk#1)
@@ -54,37 +54,37 @@ Condition : (staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCo
Input [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10]
Arguments: [i_item_sk#5, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13], [i_item_sk#5, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, i_item_id#6, 16, true, false, true) AS i_item_id#11, i_item_desc#7, i_current_price#8, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, i_class#9, 50, true, false, true) AS i_class#12, staticinvoke(class org.ap [...]
-(7) CometNativeColumnarToRow
+(7) CometColumnarToRow [codegen id : 1]
Input [6]: [i_item_sk#5, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
(8) BroadcastExchange
Input [6]: [i_item_sk#5, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=1]
-(9) BroadcastHashJoin [codegen id : 1]
+(9) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [ws_item_sk#1]
Right keys [1]: [i_item_sk#5]
Join type: Inner
Join condition: None
-(10) Project [codegen id : 1]
+(10) Project [codegen id : 3]
Output [7]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
Input [9]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_sk#5, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
(11) ReusedExchange [Reuses operator id: 28]
Output [1]: [d_date_sk#14]
-(12) BroadcastHashJoin [codegen id : 1]
+(12) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [ws_sold_date_sk#3]
Right keys [1]: [d_date_sk#14]
Join type: Inner
Join condition: None
-(13) Project [codegen id : 1]
+(13) Project [codegen id : 3]
Output [6]: [ws_ext_sales_price#2, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
Input [8]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13, d_date_sk#14]
-(14) HashAggregate [codegen id : 1]
+(14) HashAggregate [codegen id : 3]
Input [6]: [ws_ext_sales_price#2, i_item_id#11, i_item_desc#7, i_current_price#8, i_class#12, i_category#13]
Keys [5]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8]
Functions [1]: [partial_sum(UnscaledValue(ws_ext_sales_price#2))]
@@ -95,10 +95,10 @@ Results [6]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_
Input [6]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8, sum#16]
Arguments: hashpartitioning(i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=2]
-(16) CometNativeColumnarToRow
+(16) CometColumnarToRow [codegen id : 4]
Input [6]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8, sum#16]
-(17) HashAggregate [codegen id : 2]
+(17) HashAggregate [codegen id : 4]
Input [6]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8, sum#16]
Keys [5]: [i_item_id#11, i_item_desc#7, i_category#13, i_class#12, i_current_price#8]
Functions [1]: [sum(UnscaledValue(ws_ext_sales_price#2))]
@@ -113,14 +113,14 @@ Arguments: hashpartitioning(i_class#12, 5), ENSURE_REQUIREMENTS, CometColumnarSh
Input [7]: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, _w0#19, i_item_id#11]
Arguments: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, _w0#19, i_item_id#11], [i_class#12 ASC NULLS FIRST]
-(20) CometNativeColumnarToRow
+(20) CometColumnarToRow [codegen id : 5]
Input [7]: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, _w0#19, i_item_id#11]
(21) Window
Input [7]: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, _w0#19, i_item_id#11]
Arguments: [sum(_w0#19) windowspecdefinition(i_class#12, specifiedwindowframe(RowFrame, unboundedpreceding$(), unboundedfollowing$())) AS _we0#20], [i_class#12]
-(22) Project [codegen id : 3]
+(22) Project [codegen id : 6]
Output [7]: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, ((_w0#19 * 100) / _we0#20) AS revenueratio#21, i_item_id#11]
Input [8]: [i_item_desc#7, i_category#13, i_class#12, i_current_price#8, itemrevenue#18, _w0#19, i_item_id#11, _we0#20]
@@ -132,7 +132,7 @@ Arguments: 100, [i_category#13 ASC NULLS FIRST, i_class#12 ASC NULLS FIRST, i_it
Subquery:1 Hosting operator id = 1 Hosting Expression = ws_sold_date_sk#3 IN dynamicpruning#4
BroadcastExchange (28)
-+- CometNativeColumnarToRow (27)
++- * CometColumnarToRow (27)
+- CometProject (26)
+- CometFilter (25)
+- CometNativeScan parquet spark_catalog.default.date_dim (24)
@@ -153,7 +153,7 @@ Condition : (((isnotnull(d_date#22) AND (d_date#22 >= 1999-02-22)) AND (d_date#2
Input [2]: [d_date_sk#14, d_date#22]
Arguments: [d_date_sk#14], [d_date_sk#14]
-(27) CometNativeColumnarToRow
+(27) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#14]
(28) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/extended.txt
index 15648408f..6c2a77509 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/extended.txt
@@ -1,11 +1,11 @@
TakeOrderedAndProject
+- Project
+- Window [COMET: WindowExec is not fully compatible with Spark (Native WindowExec has known correctness issues). To enable it anyway, set spark.comet.operator.WindowExec.allowIncompatible=true. For more information, refer to the Comet Compatibility Guide (https://datafusion.apache.org/comet/user-guide/compatibility.html).]
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometSort
+- CometColumnarExchange
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
@@ -17,17 +17,17 @@ TakeOrderedAndProject
: : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : +- SubqueryBroadcast
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.item
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/simplified.txt
index b58034964..b7b0a8977 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_datafusion/simplified.txt
@@ -1,37 +1,43 @@
TakeOrderedAndProject [i_category,i_class,i_item_id,i_item_desc,revenueratio,i_current_price,itemrevenue]
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
Project [i_item_desc,i_category,i_class,i_current_price,itemrevenue,_w0,_we0,i_item_id]
InputAdapter
Window [_w0,i_class]
- CometNativeColumnarToRow
- CometSort [i_item_desc,i_category,i_class,i_current_price,itemrevenue,_w0,i_item_id]
- CometColumnarExchange [i_class] #1
- WholeStageCodegen (2)
- HashAggregate [i_item_id,i_item_desc,i_category,i_class,i_current_price,sum] [sum(UnscaledValue(ws_ext_sales_price)),itemrevenue,_w0,sum]
- InputAdapter
- CometNativeColumnarToRow
- CometColumnarExchange [i_item_id,i_item_desc,i_category,i_class,i_current_price] #2
- WholeStageCodegen (1)
- HashAggregate [i_item_id,i_item_desc,i_category,i_class,i_current_price,ws_ext_sales_price] [sum,sum]
- Project [ws_ext_sales_price,i_item_id,i_item_desc,i_current_price,i_class,i_category]
- BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
- Project [ws_ext_sales_price,ws_sold_date_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
- BroadcastHashJoin [ws_item_sk,i_item_sk]
- Filter [ws_item_sk]
- ColumnarToRow
+ WholeStageCodegen (5)
+ CometColumnarToRow
+ InputAdapter
+ CometSort [i_item_desc,i_category,i_class,i_current_price,itemrevenue,_w0,i_item_id]
+ CometColumnarExchange [i_class] #1
+ WholeStageCodegen (4)
+ HashAggregate [i_item_id,i_item_desc,i_category,i_class,i_current_price,sum] [sum(UnscaledValue(ws_ext_sales_price)),itemrevenue,_w0,sum]
+ CometColumnarToRow
+ InputAdapter
+ CometColumnarExchange [i_item_id,i_item_desc,i_category,i_class,i_current_price] #2
+ WholeStageCodegen (3)
+ HashAggregate [i_item_id,i_item_desc,i_category,i_class,i_current_price,ws_ext_sales_price] [sum,sum]
+ Project [ws_ext_sales_price,i_item_id,i_item_desc,i_current_price,i_class,i_category]
+ BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
+ Project [ws_ext_sales_price,ws_sold_date_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
+ BroadcastHashJoin [ws_item_sk,i_item_sk]
+ Filter [ws_item_sk]
+ ColumnarToRow
+ InputAdapter
+ Scan parquet spark_catalog.default.web_sales [ws_item_sk,ws_ext_sales_price,ws_sold_date_sk]
+ SubqueryBroadcast [d_date_sk] #1
+ BroadcastExchange #3
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_date]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_date]
InputAdapter
- Scan parquet spark_catalog.default.web_sales [ws_item_sk,ws_ext_sales_price,ws_sold_date_sk]
- SubqueryBroadcast [d_date_sk] #1
- BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_date]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_date]
+ BroadcastExchange #4
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [i_item_id,i_class,i_category] [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
+ CometFilter [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
+ CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
InputAdapter
- BroadcastExchange #4
- CometNativeColumnarToRow
- CometProject [i_item_id,i_class,i_category] [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
- CometFilter [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
- CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
- InputAdapter
- ReusedExchange [d_date_sk] #3
+ ReusedExchange [d_date_sk] #3
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/explain.txt
index 0e486aa5d..93308784a 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/explain.txt
@@ -133,7 +133,7 @@ Arguments: 100, [i_category#13 ASC NULLS FIRST, i_class#12 ASC NULLS FIRST, i_it
Subquery:1 Hosting operator id = 1 Hosting Expression = ws_sold_date_sk#3 IN dynamicpruning#4
BroadcastExchange (28)
-+- CometNativeColumnarToRow (27)
++- * CometColumnarToRow (27)
+- CometProject (26)
+- CometFilter (25)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (24)
@@ -154,7 +154,7 @@ Condition : (((isnotnull(d_date#15) AND (d_date#15 >= 1999-02-22)) AND (d_date#1
Input [2]: [d_date_sk#14, d_date#15]
Arguments: [d_date_sk#14], [d_date_sk#14]
-(27) CometNativeColumnarToRow
+(27) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#14]
(28) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/extended.txt
index 1812b9e87..3f41c97ff 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/extended.txt
@@ -15,7 +15,7 @@ TakeOrderedAndProject
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
: : +- SubqueryBroadcast
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/simplified.txt
index c014d569f..fb83fd2f9 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12.native_iceberg_compat/simplified.txt
@@ -19,10 +19,12 @@ TakeOrderedAndProject [i_category,i_class,i_item_id,i_item_desc,revenueratio,i_c
CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales [ws_item_sk,ws_ext_sales_price,ws_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_date]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_date]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_date]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_date]
CometBroadcastExchange [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category] #4
CometProject [i_item_id,i_class,i_category] [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
CometFilter [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/explain.txt
index 0e486aa5d..93308784a 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/explain.txt
@@ -133,7 +133,7 @@ Arguments: 100, [i_category#13 ASC NULLS FIRST, i_class#12 ASC NULLS FIRST, i_it
Subquery:1 Hosting operator id = 1 Hosting Expression = ws_sold_date_sk#3 IN dynamicpruning#4
BroadcastExchange (28)
-+- CometNativeColumnarToRow (27)
++- * CometColumnarToRow (27)
+- CometProject (26)
+- CometFilter (25)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (24)
@@ -154,7 +154,7 @@ Condition : (((isnotnull(d_date#15) AND (d_date#15 >= 1999-02-22)) AND (d_date#1
Input [2]: [d_date_sk#14, d_date#15]
Arguments: [d_date_sk#14], [d_date_sk#14]
-(27) CometNativeColumnarToRow
+(27) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#14]
(28) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/extended.txt
index 1812b9e87..3f41c97ff 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/extended.txt
@@ -15,7 +15,7 @@ TakeOrderedAndProject
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
: : +- SubqueryBroadcast
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/simplified.txt
index c014d569f..fb83fd2f9 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q12/simplified.txt
@@ -19,10 +19,12 @@ TakeOrderedAndProject [i_category,i_class,i_item_id,i_item_desc,revenueratio,i_c
CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales [ws_item_sk,ws_ext_sales_price,ws_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_date]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_date]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_date]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_date]
CometBroadcastExchange [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category] #4
CometProject [i_item_id,i_class,i_category] [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
CometFilter [i_item_sk,i_item_id,i_item_desc,i_current_price,i_class,i_category]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/explain.txt
index cfff06dc6..dbacf525e 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/explain.txt
@@ -1,6 +1,6 @@
== Physical Plan ==
* HashAggregate (36)
-+- CometNativeColumnarToRow (35)
++- * CometColumnarToRow (35)
+- CometColumnarExchange (34)
+- * HashAggregate (33)
+- * Project (32)
@@ -17,22 +17,22 @@
: : : : : +- * ColumnarToRow (2)
: : : : : +- Scan parquet spark_catalog.default.store_sales (1)
: : : : +- BroadcastExchange (7)
- : : : : +- CometNativeColumnarToRow (6)
+ : : : : +- * CometColumnarToRow (6)
: : : : +- CometFilter (5)
: : : : +- CometNativeScan parquet spark_catalog.default.store (4)
: : : +- BroadcastExchange (14)
- : : : +- CometNativeColumnarToRow (13)
+ : : : +- * CometColumnarToRow (13)
: : : +- CometProject (12)
: : : +- CometFilter (11)
: : : +- CometNativeScan parquet spark_catalog.default.customer_address (10)
: : +- ReusedExchange (17)
: +- BroadcastExchange (24)
- : +- CometNativeColumnarToRow (23)
+ : +- * CometColumnarToRow (23)
: +- CometProject (22)
: +- CometFilter (21)
: +- CometNativeScan parquet spark_catalog.default.customer_demographics (20)
+- BroadcastExchange (30)
- +- CometNativeColumnarToRow (29)
+ +- * CometColumnarToRow (29)
+- CometFilter (28)
+- CometNativeScan parquet spark_catalog.default.household_demographics (27)
@@ -45,10 +45,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#10), dynamicpruningexpression(ss_so
PushedFilters: [IsNotNull(ss_store_sk), IsNotNull(ss_addr_sk), IsNotNull(ss_cdemo_sk), IsNotNull(ss_hdemo_sk), Or(Or(And(GreaterThanOrEqual(ss_net_profit,100.00),LessThanOrEqual(ss_net_profit,200.00)),And(GreaterThanOrEqual(ss_net_profit,150.00),LessThanOrEqual(ss_net_profit,300.00))),And(GreaterThanOrEqual(ss_net_profit,50.00),LessThanOrEqual(ss_net_profit,250.00))), Or(Or(And(GreaterThanOrEqual(ss_sales_price,100.00),LessThanOrEqual(ss_sales_price,150.00)),And(GreaterThanOrEqual(ss_sal [...]
ReadSchema: struct<ss_cdemo_sk:int,ss_hdemo_sk:int,ss_addr_sk:int,ss_store_sk:int,ss_quantity:int,ss_sales_price:decimal(7,2),ss_ext_sales_price:decimal(7,2),ss_ext_wholesale_cost:decimal(7,2),ss_net_profit:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 1]
+(2) ColumnarToRow [codegen id : 6]
Input [10]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10]
-(3) Filter [codegen id : 1]
+(3) Filter [codegen id : 6]
Input [10]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10]
Condition : (((((isnotnull(ss_store_sk#4) AND isnotnull(ss_addr_sk#3)) AND isnotnull(ss_cdemo_sk#1)) AND isnotnull(ss_hdemo_sk#2)) AND ((((ss_net_profit#9 >= 100.00) AND (ss_net_profit#9 <= 200.00)) OR ((ss_net_profit#9 >= 150.00) AND (ss_net_profit#9 <= 300.00))) OR ((ss_net_profit#9 >= 50.00) AND (ss_net_profit#9 <= 250.00)))) AND ((((ss_sales_price#6 >= 100.00) AND (ss_sales_price#6 <= 150.00)) OR ((ss_sales_price#6 >= 50.00) AND (ss_sales_price#6 <= 100.00))) OR ((ss_sales_price#6 >= [...]
@@ -63,20 +63,20 @@ ReadSchema: struct<s_store_sk:int>
Input [1]: [s_store_sk#12]
Condition : isnotnull(s_store_sk#12)
-(6) CometNativeColumnarToRow
+(6) CometColumnarToRow [codegen id : 1]
Input [1]: [s_store_sk#12]
(7) BroadcastExchange
Input [1]: [s_store_sk#12]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=1]
-(8) BroadcastHashJoin [codegen id : 1]
+(8) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_store_sk#4]
Right keys [1]: [s_store_sk#12]
Join type: Inner
Join condition: None
-(9) Project [codegen id : 1]
+(9) Project [codegen id : 6]
Output [9]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10]
Input [11]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10, s_store_sk#12]
@@ -95,33 +95,33 @@ Condition : (((isnotnull(ca_country#15) AND (ca_country#15 = United States)) AND
Input [3]: [ca_address_sk#13, ca_state#14, ca_country#15]
Arguments: [ca_address_sk#13, ca_state#16], [ca_address_sk#13, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, ca_state#14, 2, true, false, true) AS ca_state#16]
-(13) CometNativeColumnarToRow
+(13) CometColumnarToRow [codegen id : 2]
Input [2]: [ca_address_sk#13, ca_state#16]
(14) BroadcastExchange
Input [2]: [ca_address_sk#13, ca_state#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2]
-(15) BroadcastHashJoin [codegen id : 1]
+(15) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_addr_sk#3]
Right keys [1]: [ca_address_sk#13]
Join type: Inner
Join condition: ((((ca_state#16 IN (TX,OH) AND (ss_net_profit#9 >= 100.00)) AND (ss_net_profit#9 <= 200.00)) OR ((ca_state#16 IN (OR,NM,KY) AND (ss_net_profit#9 >= 150.00)) AND (ss_net_profit#9 <= 300.00))) OR ((ca_state#16 IN (VA,TX,MS) AND (ss_net_profit#9 >= 50.00)) AND (ss_net_profit#9 <= 250.00)))
-(16) Project [codegen id : 1]
+(16) Project [codegen id : 6]
Output [7]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_sold_date_sk#10]
Input [11]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10, ca_address_sk#13, ca_state#16]
(17) ReusedExchange [Reuses operator id: 41]
Output [1]: [d_date_sk#17]
-(18) BroadcastHashJoin [codegen id : 1]
+(18) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_sold_date_sk#10]
Right keys [1]: [d_date_sk#17]
Join type: Inner
Join condition: None
-(19) Project [codegen id : 1]
+(19) Project [codegen id : 6]
Output [6]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8]
Input [8]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_sold_date_sk#10, d_date_sk#17]
@@ -140,20 +140,20 @@ Condition : (isnotnull(cd_demo_sk#18) AND ((((staticinvoke(class org.apache.spar
Input [3]: [cd_demo_sk#18, cd_marital_status#19, cd_education_status#20]
Arguments: [cd_demo_sk#18, cd_marital_status#21, cd_education_status#22], [cd_demo_sk#18, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_marital_status#19, 1, true, false, true) AS cd_marital_status#21, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, cd_education_status#20, 20, true, false, true) AS cd_education_status#22]
-(23) CometNativeColumnarToRow
+(23) CometColumnarToRow [codegen id : 4]
Input [3]: [cd_demo_sk#18, cd_marital_status#21, cd_education_status#22]
(24) BroadcastExchange
Input [3]: [cd_demo_sk#18, cd_marital_status#21, cd_education_status#22]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=3]
-(25) BroadcastHashJoin [codegen id : 1]
+(25) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_cdemo_sk#1]
Right keys [1]: [cd_demo_sk#18]
Join type: Inner
Join condition: ((((((cd_marital_status#21 = M) AND (cd_education_status#22 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) OR ((((cd_marital_status#21 = S) AND (cd_education_status#22 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00))) OR ((((cd_marital_status#21 = W) AND (cd_education_status#22 = 2 yr Degree )) AND (ss_sales_price#6 >= 150.00)) AND (ss_sales_price#6 <= 200.00)))
-(26) Project [codegen id : 1]
+(26) Project [codegen id : 6]
Output [7]: [ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_marital_status#21, cd_education_status#22]
Input [9]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_demo_sk#18, cd_marital_status#21, cd_education_status#22]
@@ -168,24 +168,24 @@ ReadSchema: struct<hd_demo_sk:int,hd_dep_count:int>
Input [2]: [hd_demo_sk#23, hd_dep_count#24]
Condition : (isnotnull(hd_demo_sk#23) AND ((hd_dep_count#24 = 3) OR (hd_dep_count#24 = 1)))
-(29) CometNativeColumnarToRow
+(29) CometColumnarToRow [codegen id : 5]
Input [2]: [hd_demo_sk#23, hd_dep_count#24]
(30) BroadcastExchange
Input [2]: [hd_demo_sk#23, hd_dep_count#24]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=4]
-(31) BroadcastHashJoin [codegen id : 1]
+(31) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_hdemo_sk#2]
Right keys [1]: [hd_demo_sk#23]
Join type: Inner
Join condition: (((((((cd_marital_status#21 = M) AND (cd_education_status#22 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) AND (hd_dep_count#24 = 3)) OR (((((cd_marital_status#21 = S) AND (cd_education_status#22 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00)) AND (hd_dep_count#24 = 1))) OR (((((cd_marital_status#21 = W) AND (cd_education_status#22 = 2 yr Degree )) AND (ss_sales_price#6 >= 1 [...]
-(32) Project [codegen id : 1]
+(32) Project [codegen id : 6]
Output [3]: [ss_quantity#5, ss_ext_sales_price#7, ss_ext_wholesale_cost#8]
Input [9]: [ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_marital_status#21, cd_education_status#22, hd_demo_sk#23, hd_dep_count#24]
-(33) HashAggregate [codegen id : 1]
+(33) HashAggregate [codegen id : 6]
Input [3]: [ss_quantity#5, ss_ext_sales_price#7, ss_ext_wholesale_cost#8]
Keys: []
Functions [4]: [partial_avg(ss_quantity#5), partial_avg(UnscaledValue(ss_ext_sales_price#7)), partial_avg(UnscaledValue(ss_ext_wholesale_cost#8)), partial_sum(UnscaledValue(ss_ext_wholesale_cost#8))]
@@ -196,10 +196,10 @@ Results [7]: [sum#32, count#33, sum#34, count#35, sum#36, count#37, sum#38]
Input [7]: [sum#32, count#33, sum#34, count#35, sum#36, count#37, sum#38]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=5]
-(35) CometNativeColumnarToRow
+(35) CometColumnarToRow [codegen id : 7]
Input [7]: [sum#32, count#33, sum#34, count#35, sum#36, count#37, sum#38]
-(36) HashAggregate [codegen id : 2]
+(36) HashAggregate [codegen id : 7]
Input [7]: [sum#32, count#33, sum#34, count#35, sum#36, count#37, sum#38]
Keys: []
Functions [4]: [avg(ss_quantity#5), avg(UnscaledValue(ss_ext_sales_price#7)), avg(UnscaledValue(ss_ext_wholesale_cost#8)), sum(UnscaledValue(ss_ext_wholesale_cost#8))]
@@ -210,7 +210,7 @@ Results [4]: [avg(ss_quantity#5)#39 AS avg(ss_quantity)#43, cast((avg(UnscaledVa
Subquery:1 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#10 IN dynamicpruning#11
BroadcastExchange (41)
-+- CometNativeColumnarToRow (40)
++- * CometColumnarToRow (40)
+- CometProject (39)
+- CometFilter (38)
+- CometNativeScan parquet spark_catalog.default.date_dim (37)
@@ -231,7 +231,7 @@ Condition : ((isnotnull(d_year#47) AND (d_year#47 = 2001)) AND isnotnull(d_date_
Input [2]: [d_date_sk#17, d_year#47]
Arguments: [d_date_sk#17], [d_date_sk#17]
-(40) CometNativeColumnarToRow
+(40) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#17]
(41) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/extended.txt
index 9ff51aab8..4c0d0b7a3 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/extended.txt
@@ -1,5 +1,5 @@
HashAggregate
-+- CometNativeColumnarToRow
++- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
@@ -17,31 +17,31 @@ HashAggregate
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.store
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.customer_address
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.customer_demographics
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.household_demographics
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/simplified.txt
index d7dc065e8..a33ae5a16 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_datafusion/simplified.txt
@@ -1,9 +1,9 @@
-WholeStageCodegen (2)
+WholeStageCodegen (7)
HashAggregate [sum,count,sum,count,sum,count,sum] [avg(ss_quantity),avg(UnscaledValue(ss_ext_sales_price)),avg(UnscaledValue(ss_ext_wholesale_cost)),sum(UnscaledValue(ss_ext_wholesale_cost)),avg(ss_quantity),avg(ss_ext_sales_price),avg(ss_ext_wholesale_cost),sum(ss_ext_wholesale_cost),sum,count,sum,count,sum,count,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange #1
- WholeStageCodegen (1)
+ WholeStageCodegen (6)
HashAggregate [ss_quantity,ss_ext_sales_price,ss_ext_wholesale_cost] [sum,count,sum,count,sum,count,sum,sum,count,sum,count,sum,count,sum]
Project [ss_quantity,ss_ext_sales_price,ss_ext_wholesale_cost]
BroadcastHashJoin [ss_hdemo_sk,hd_demo_sk,cd_marital_status,cd_education_status,ss_sales_price,hd_dep_count]
@@ -21,31 +21,41 @@ WholeStageCodegen (2)
Scan parquet spark_catalog.default.store_sales [ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_quantity,ss_sales_price,ss_ext_sales_price,ss_ext_wholesale_cost,ss_net_profit,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
BroadcastExchange #3
- CometNativeColumnarToRow
- CometFilter [s_store_sk]
- CometNativeScan parquet spark_catalog.default.store [s_store_sk]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [s_store_sk]
+ CometNativeScan parquet spark_catalog.default.store [s_store_sk]
InputAdapter
BroadcastExchange #4
- CometNativeColumnarToRow
- CometProject [ca_state] [ca_address_sk,ca_state]
- CometFilter [ca_address_sk,ca_state,ca_country]
- CometNativeScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state,ca_country]
+ WholeStageCodegen (2)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [ca_state] [ca_address_sk,ca_state]
+ CometFilter [ca_address_sk,ca_state,ca_country]
+ CometNativeScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state,ca_country]
InputAdapter
ReusedExchange [d_date_sk] #2
InputAdapter
BroadcastExchange #5
- CometNativeColumnarToRow
- CometProject [cd_marital_status,cd_education_status] [cd_demo_sk,cd_marital_status,cd_education_status]
- CometFilter [cd_demo_sk,cd_marital_status,cd_education_status]
- CometNativeScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_marital_status,cd_education_status]
+ WholeStageCodegen (4)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [cd_marital_status,cd_education_status] [cd_demo_sk,cd_marital_status,cd_education_status]
+ CometFilter [cd_demo_sk,cd_marital_status,cd_education_status]
+ CometNativeScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_marital_status,cd_education_status]
InputAdapter
BroadcastExchange #6
- CometNativeColumnarToRow
- CometFilter [hd_demo_sk,hd_dep_count]
- CometNativeScan parquet spark_catalog.default.household_demographics [hd_demo_sk,hd_dep_count]
+ WholeStageCodegen (5)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [hd_demo_sk,hd_dep_count]
+ CometNativeScan parquet spark_catalog.default.household_demographics [hd_demo_sk,hd_dep_count]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/explain.txt
index d4881d2df..74da8ba88 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/explain.txt
@@ -200,7 +200,7 @@ Input [4]: [avg(ss_quantity)#33, avg(ss_ext_sales_price)#34, avg(ss_ext_wholesal
Subquery:1 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#10 IN dynamicpruning#11
BroadcastExchange (39)
-+- CometNativeColumnarToRow (38)
++- * CometColumnarToRow (38)
+- CometProject (37)
+- CometFilter (36)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (35)
@@ -221,7 +221,7 @@ Condition : ((isnotnull(d_year#18) AND (d_year#18 = 2001)) AND isnotnull(d_date_
Input [2]: [d_date_sk#17, d_year#18]
Arguments: [d_date_sk#17], [d_date_sk#17]
-(38) CometNativeColumnarToRow
+(38) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#17]
(39) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/extended.txt
index 556822754..08e9beb69 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/extended.txt
@@ -16,7 +16,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/simplified.txt
index 3d2ac96c7..8ef882a43 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13.native_iceberg_compat/simplified.txt
@@ -18,10 +18,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_quantity,ss_sales_price,ss_ext_sales_price,ss_ext_wholesale_cost,ss_net_profit,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [s_store_sk] #3
CometFilter [s_store_sk]
CometScan [native_iceberg_compat] parquet spark_catalog.default.store [s_store_sk]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/explain.txt
index d4881d2df..74da8ba88 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/explain.txt
@@ -200,7 +200,7 @@ Input [4]: [avg(ss_quantity)#33, avg(ss_ext_sales_price)#34, avg(ss_ext_wholesal
Subquery:1 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#10 IN dynamicpruning#11
BroadcastExchange (39)
-+- CometNativeColumnarToRow (38)
++- * CometColumnarToRow (38)
+- CometProject (37)
+- CometFilter (36)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (35)
@@ -221,7 +221,7 @@ Condition : ((isnotnull(d_year#18) AND (d_year#18 = 2001)) AND isnotnull(d_date_
Input [2]: [d_date_sk#17, d_year#18]
Arguments: [d_date_sk#17], [d_date_sk#17]
-(38) CometNativeColumnarToRow
+(38) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#17]
(39) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/extended.txt
index 556822754..08e9beb69 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/extended.txt
@@ -16,7 +16,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/simplified.txt
index 3d2ac96c7..8ef882a43 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q13/simplified.txt
@@ -18,10 +18,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_quantity,ss_sales_price,ss_ext_sales_price,ss_ext_wholesale_cost,ss_net_profit,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [s_store_sk] #3
CometFilter [s_store_sk]
CometScan [native_iceberg_compat] parquet spark_catalog.default.store [s_store_sk]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/explain.txt
index ad732bc93..f7377ccf8 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/explain.txt
@@ -1,7 +1,7 @@
== Physical Plan ==
TakeOrderedAndProject (110)
+- * HashAggregate (109)
- +- CometNativeColumnarToRow (108)
+ +- * CometColumnarToRow (108)
+- CometColumnarExchange (107)
+- * HashAggregate (106)
+- * Expand (105)
@@ -9,7 +9,7 @@ TakeOrderedAndProject (110)
:- * Project (69)
: +- * Filter (68)
: +- * HashAggregate (67)
- : +- CometNativeColumnarToRow (66)
+ : +- * CometColumnarToRow (66)
: +- CometColumnarExchange (65)
: +- * HashAggregate (64)
: +- * Project (63)
@@ -23,12 +23,12 @@ TakeOrderedAndProject (110)
: : : +- BroadcastExchange (51)
: : : +- * Project (50)
: : : +- * BroadcastHashJoin Inner BuildRight (49)
- : : : :- CometNativeColumnarToRow (6)
+ : : : :- * CometColumnarToRow (6)
: : : : +- CometFilter (5)
: : : : +- CometNativeScan parquet spark_catalog.default.item (4)
: : : +- BroadcastExchange (48)
: : : +- * BroadcastHashJoin LeftSemi BuildRight (47)
- : : : :- CometNativeColumnarToRow (36)
+ : : : :- * CometColumnarToRow (36)
: : : : +- CometHashAggregate (35)
: : : : +- CometColumnarExchange (34)
: : : : +- * HashAggregate (33)
@@ -41,7 +41,7 @@ TakeOrderedAndProject (110)
: : : : : : +- Scan parquet spark_catalog.default.store_sales (7)
: : : : : +- BroadcastExchange (27)
: : : : : +- * BroadcastHashJoin LeftSemi BuildRight (26)
- : : : : : :- CometNativeColumnarToRow (12)
+ : : : : : :- * CometColumnarToRow (12)
: : : : : : +- CometFilter (11)
: : : : : : +- CometNativeScan parquet spark_catalog.default.item (10)
: : : : : +- BroadcastExchange (25)
@@ -53,7 +53,7 @@ TakeOrderedAndProject (110)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet spark_catalog.default.catalog_sales (13)
: : : : : : +- BroadcastExchange (19)
- : : : : : : +- CometNativeColumnarToRow (18)
+ : : : : : : +- * CometColumnarToRow (18)
: : : : : : +- CometFilter (17)
: : : : : : +- CometNativeScan parquet spark_catalog.default.item (16)
: : : : : +- ReusedExchange (22)
@@ -70,7 +70,7 @@ TakeOrderedAndProject (110)
: : : +- ReusedExchange (43)
: : +- BroadcastExchange (58)
: : +- * BroadcastHashJoin LeftSemi BuildRight (57)
- : : :- CometNativeColumnarToRow (55)
+ : : :- * CometColumnarToRow (55)
: : : +- CometFilter (54)
: : : +- CometNativeScan parquet spark_catalog.default.item (53)
: : +- ReusedExchange (56)
@@ -78,7 +78,7 @@ TakeOrderedAndProject (110)
:- * Project (86)
: +- * Filter (85)
: +- * HashAggregate (84)
- : +- CometNativeColumnarToRow (83)
+ : +- * CometColumnarToRow (83)
: +- CometColumnarExchange (82)
: +- * HashAggregate (81)
: +- * Project (80)
@@ -95,7 +95,7 @@ TakeOrderedAndProject (110)
+- * Project (103)
+- * Filter (102)
+- * HashAggregate (101)
- +- CometNativeColumnarToRow (100)
+ +- * CometColumnarToRow (100)
+- CometColumnarExchange (99)
+- * HashAggregate (98)
+- * Project (97)
@@ -119,10 +119,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#4), dynamicpruningexpression(ss_sol
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int,ss_quantity:int,ss_list_price:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 14]
+(2) ColumnarToRow [codegen id : 25]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
-(3) Filter [codegen id : 14]
+(3) Filter [codegen id : 25]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
Condition : isnotnull(ss_item_sk#1)
@@ -137,7 +137,7 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
Condition : ((isnotnull(i_brand_id#7) AND isnotnull(i_class_id#8)) AND isnotnull(i_category_id#9))
-(6) CometNativeColumnarToRow
+(6) CometColumnarToRow [codegen id : 11]
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
(7) Scan parquet spark_catalog.default.store_sales
@@ -148,10 +148,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#11), dynamicpruningexpression(ss_so
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int>
-(8) ColumnarToRow [codegen id : 3]
+(8) ColumnarToRow [codegen id : 6]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]
-(9) Filter [codegen id : 3]
+(9) Filter [codegen id : 6]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]
Condition : isnotnull(ss_item_sk#10)
@@ -166,7 +166,7 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
Condition : (((isnotnull(i_item_sk#13) AND isnotnull(i_brand_id#14)) AND isnotnull(i_class_id#15)) AND isnotnull(i_category_id#16))
-(12) CometNativeColumnarToRow
+(12) CometColumnarToRow [codegen id : 4]
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
(13) Scan parquet spark_catalog.default.catalog_sales
@@ -177,10 +177,10 @@ PartitionFilters: [isnotnull(cs_sold_date_sk#18), dynamicpruningexpression(cs_so
PushedFilters: [IsNotNull(cs_item_sk)]
ReadSchema: struct<cs_item_sk:int>
-(14) ColumnarToRow [codegen id : 1]
+(14) ColumnarToRow [codegen id : 3]
Input [2]: [cs_item_sk#17, cs_sold_date_sk#18]
-(15) Filter [codegen id : 1]
+(15) Filter [codegen id : 3]
Input [2]: [cs_item_sk#17, cs_sold_date_sk#18]
Condition : isnotnull(cs_item_sk#17)
@@ -195,33 +195,33 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
Condition : isnotnull(i_item_sk#19)
-(18) CometNativeColumnarToRow
+(18) CometColumnarToRow [codegen id : 1]
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
(19) BroadcastExchange
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=1]
-(20) BroadcastHashJoin [codegen id : 1]
+(20) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [cs_item_sk#17]
Right keys [1]: [i_item_sk#19]
Join type: Inner
Join condition: None
-(21) Project [codegen id : 1]
+(21) Project [codegen id : 3]
Output [4]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22]
Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
(22) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#23]
-(23) BroadcastHashJoin [codegen id : 1]
+(23) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [cs_sold_date_sk#18]
Right keys [1]: [d_date_sk#23]
Join type: Inner
Join condition: None
-(24) Project [codegen id : 1]
+(24) Project [codegen id : 3]
Output [3]: [i_brand_id#20, i_class_id#21, i_category_id#22]
Input [5]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22, d_date_sk#23]
@@ -229,7 +229,7 @@ Input [5]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22,
Input [3]: [i_brand_id#20, i_class_id#21, i_category_id#22]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, int, true], 0), isnull(input[0, int, true]), coalesce(input[1, int, true], 0), isnull(input[1, int, true]), coalesce(input[2, int, true], 0), isnull(input[2, int, true])),false), [plan_id=2]
-(26) BroadcastHashJoin [codegen id : 2]
+(26) BroadcastHashJoin [codegen id : 4]
Left keys [6]: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)]
Right keys [6]: [coalesce(i_brand_id#20, 0), isnull(i_brand_id#20), coalesce(i_class_id#21, 0), isnull(i_class_id#21), coalesce(i_category_id#22, 0), isnull(i_category_id#22)]
Join type: LeftSemi
@@ -239,30 +239,30 @@ Join condition: None
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=3]
-(28) BroadcastHashJoin [codegen id : 3]
+(28) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_item_sk#10]
Right keys [1]: [i_item_sk#13]
Join type: Inner
Join condition: None
-(29) Project [codegen id : 3]
+(29) Project [codegen id : 6]
Output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16]
Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
(30) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#24]
-(31) BroadcastHashJoin [codegen id : 3]
+(31) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_sold_date_sk#11]
Right keys [1]: [d_date_sk#24]
Join type: Inner
Join condition: None
-(32) Project [codegen id : 3]
+(32) Project [codegen id : 6]
Output [3]: [i_brand_id#14 AS brand_id#25, i_class_id#15 AS class_id#26, i_category_id#16 AS category_id#27]
Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#24]
-(33) HashAggregate [codegen id : 3]
+(33) HashAggregate [codegen id : 6]
Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
@@ -278,7 +278,7 @@ Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
-(36) CometNativeColumnarToRow
+(36) CometColumnarToRow [codegen id : 10]
Input [3]: [brand_id#25, class_id#26, category_id#27]
(37) Scan parquet spark_catalog.default.web_sales
@@ -289,36 +289,36 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#29), dynamicpruningexpression(ws_so
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int>
-(38) ColumnarToRow [codegen id : 4]
+(38) ColumnarToRow [codegen id : 9]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]
-(39) Filter [codegen id : 4]
+(39) Filter [codegen id : 9]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]
Condition : isnotnull(ws_item_sk#28)
(40) ReusedExchange [Reuses operator id: 19]
Output [4]: [i_item_sk#30, i_brand_id#31, i_class_id#32, i_category_id#33]
-(41) BroadcastHashJoin [codegen id : 4]
+(41) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ws_item_sk#28]
Right keys [1]: [i_item_sk#30]
Join type: Inner
Join condition: None
-(42) Project [codegen id : 4]
+(42) Project [codegen id : 9]
Output [4]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33]
Input [6]: [ws_item_sk#28, ws_sold_date_sk#29, i_item_sk#30, i_brand_id#31, i_class_id#32, i_category_id#33]
(43) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#34]
-(44) BroadcastHashJoin [codegen id : 4]
+(44) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ws_sold_date_sk#29]
Right keys [1]: [d_date_sk#34]
Join type: Inner
Join condition: None
-(45) Project [codegen id : 4]
+(45) Project [codegen id : 9]
Output [3]: [i_brand_id#31, i_class_id#32, i_category_id#33]
Input [5]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33, d_date_sk#34]
@@ -326,7 +326,7 @@ Input [5]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33,
Input [3]: [i_brand_id#31, i_class_id#32, i_category_id#33]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, int, true], 0), isnull(input[0, int, true]), coalesce(input[1, int, true], 0), isnull(input[1, int, true]), coalesce(input[2, int, true], 0), isnull(input[2, int, true])),false), [plan_id=5]
-(47) BroadcastHashJoin [codegen id : 5]
+(47) BroadcastHashJoin [codegen id : 10]
Left keys [6]: [coalesce(brand_id#25, 0), isnull(brand_id#25), coalesce(class_id#26, 0), isnull(class_id#26), coalesce(category_id#27, 0), isnull(category_id#27)]
Right keys [6]: [coalesce(i_brand_id#31, 0), isnull(i_brand_id#31), coalesce(i_class_id#32, 0), isnull(i_class_id#32), coalesce(i_category_id#33, 0), isnull(i_category_id#33)]
Join type: LeftSemi
@@ -336,13 +336,13 @@ Join condition: None
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: HashedRelationBroadcastMode(List(input[0, int, true], input[1, int, true], input[2, int, true]),false), [plan_id=6]
-(49) BroadcastHashJoin [codegen id : 6]
+(49) BroadcastHashJoin [codegen id : 11]
Left keys [3]: [i_brand_id#7, i_class_id#8, i_category_id#9]
Right keys [3]: [brand_id#25, class_id#26, category_id#27]
Join type: Inner
Join condition: None
-(50) Project [codegen id : 6]
+(50) Project [codegen id : 11]
Output [1]: [i_item_sk#6 AS ss_item_sk#35]
Input [7]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9, brand_id#25, class_id#26, category_id#27]
@@ -350,7 +350,7 @@ Input [7]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9, brand_id#2
Input [1]: [ss_item_sk#35]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=7]
-(52) BroadcastHashJoin [codegen id : 14]
+(52) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
@@ -367,13 +367,13 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
Condition : isnotnull(i_item_sk#36)
-(55) CometNativeColumnarToRow
+(55) CometColumnarToRow [codegen id : 23]
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
(56) ReusedExchange [Reuses operator id: 51]
Output [1]: [ss_item_sk#35]
-(57) BroadcastHashJoin [codegen id : 13]
+(57) BroadcastHashJoin [codegen id : 23]
Left keys [1]: [i_item_sk#36]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
@@ -383,30 +383,30 @@ Join condition: None
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=8]
-(59) BroadcastHashJoin [codegen id : 14]
+(59) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [i_item_sk#36]
Join type: Inner
Join condition: None
-(60) Project [codegen id : 14]
+(60) Project [codegen id : 25]
Output [6]: [ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_brand_id#37, i_class_id#38, i_category_id#39]
Input [8]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
(61) ReusedExchange [Reuses operator id: 135]
Output [1]: [d_date_sk#40]
-(62) BroadcastHashJoin [codegen id : 14]
+(62) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_sold_date_sk#4]
Right keys [1]: [d_date_sk#40]
Join type: Inner
Join condition: None
-(63) Project [codegen id : 14]
+(63) Project [codegen id : 25]
Output [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#37, i_class_id#38, i_category_id#39]
Input [7]: [ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_brand_id#37, i_class_id#38, i_category_id#39, d_date_sk#40]
-(64) HashAggregate [codegen id : 14]
+(64) HashAggregate [codegen id : 25]
Input [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#37, i_class_id#38, i_category_id#39]
Keys [3]: [i_brand_id#37, i_class_id#38, i_category_id#39]
Functions [2]: [partial_sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), partial_count(1)]
@@ -417,21 +417,21 @@ Results [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
Arguments: hashpartitioning(i_brand_id#37, i_class_id#38, i_category_id#39, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=9]
-(66) CometNativeColumnarToRow
+(66) CometColumnarToRow [codegen id : 26]
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
-(67) HashAggregate [codegen id : 15]
+(67) HashAggregate [codegen id : 26]
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
Keys [3]: [i_brand_id#37, i_class_id#38, i_category_id#39]
Functions [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47, count(1)#48]
Results [5]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47 AS sales#49, count(1)#48 AS number_sales#50]
-(68) Filter [codegen id : 15]
+(68) Filter [codegen id : 26]
Input [5]: [i_brand_id#37, i_class_id#38, i_category_id#39, sales#49, number_sales#50]
Condition : (isnotnull(sales#49) AND (cast(sales#49 as decimal(32,6)) > cast(Subquery scalar-subquery#51, [id=#52] as decimal(32,6))))
-(69) Project [codegen id : 15]
+(69) Project [codegen id : 26]
Output [6]: [sales#49, number_sales#50, store AS channel#53, i_brand_id#37 AS i_brand_id#54, i_class_id#38 AS i_class_id#55, i_category_id#39 AS i_category_id#56]
Input [5]: [i_brand_id#37, i_class_id#38, i_category_id#39, sales#49, number_sales#50]
@@ -443,17 +443,17 @@ PartitionFilters: [isnotnull(cs_sold_date_sk#60), dynamicpruningexpression(cs_so
PushedFilters: [IsNotNull(cs_item_sk)]
ReadSchema: struct<cs_item_sk:int,cs_quantity:int,cs_list_price:decimal(7,2)>
-(71) ColumnarToRow [codegen id : 29]
+(71) ColumnarToRow [codegen id : 51]
Input [4]: [cs_item_sk#57, cs_quantity#58, cs_list_price#59, cs_sold_date_sk#60]
-(72) Filter [codegen id : 29]
+(72) Filter [codegen id : 51]
Input [4]: [cs_item_sk#57, cs_quantity#58, cs_list_price#59, cs_sold_date_sk#60]
Condition : isnotnull(cs_item_sk#57)
(73) ReusedExchange [Reuses operator id: 51]
Output [1]: [ss_item_sk#61]
-(74) BroadcastHashJoin [codegen id : 29]
+(74) BroadcastHashJoin [codegen id : 51]
Left keys [1]: [cs_item_sk#57]
Right keys [1]: [ss_item_sk#61]
Join type: LeftSemi
@@ -462,30 +462,30 @@ Join condition: None
(75) ReusedExchange [Reuses operator id: 58]
Output [4]: [i_item_sk#62, i_brand_id#63, i_class_id#64, i_category_id#65]
-(76) BroadcastHashJoin [codegen id : 29]
+(76) BroadcastHashJoin [codegen id : 51]
Left keys [1]: [cs_item_sk#57]
Right keys [1]: [i_item_sk#62]
Join type: Inner
Join condition: None
-(77) Project [codegen id : 29]
+(77) Project [codegen id : 51]
Output [6]: [cs_quantity#58, cs_list_price#59, cs_sold_date_sk#60, i_brand_id#63, i_class_id#64, i_category_id#65]
Input [8]: [cs_item_sk#57, cs_quantity#58, cs_list_price#59, cs_sold_date_sk#60, i_item_sk#62, i_brand_id#63, i_class_id#64, i_category_id#65]
(78) ReusedExchange [Reuses operator id: 135]
Output [1]: [d_date_sk#66]
-(79) BroadcastHashJoin [codegen id : 29]
+(79) BroadcastHashJoin [codegen id : 51]
Left keys [1]: [cs_sold_date_sk#60]
Right keys [1]: [d_date_sk#66]
Join type: Inner
Join condition: None
-(80) Project [codegen id : 29]
+(80) Project [codegen id : 51]
Output [5]: [cs_quantity#58, cs_list_price#59, i_brand_id#63, i_class_id#64, i_category_id#65]
Input [7]: [cs_quantity#58, cs_list_price#59, cs_sold_date_sk#60, i_brand_id#63, i_class_id#64, i_category_id#65, d_date_sk#66]
-(81) HashAggregate [codegen id : 29]
+(81) HashAggregate [codegen id : 51]
Input [5]: [cs_quantity#58, cs_list_price#59, i_brand_id#63, i_class_id#64, i_category_id#65]
Keys [3]: [i_brand_id#63, i_class_id#64, i_category_id#65]
Functions [2]: [partial_sum((cast(cs_quantity#58 as decimal(10,0)) * cs_list_price#59)), partial_count(1)]
@@ -496,21 +496,21 @@ Results [6]: [i_brand_id#63, i_class_id#64, i_category_id#65, sum#70, isEmpty#71
Input [6]: [i_brand_id#63, i_class_id#64, i_category_id#65, sum#70, isEmpty#71, count#72]
Arguments: hashpartitioning(i_brand_id#63, i_class_id#64, i_category_id#65, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=10]
-(83) CometNativeColumnarToRow
+(83) CometColumnarToRow [codegen id : 52]
Input [6]: [i_brand_id#63, i_class_id#64, i_category_id#65, sum#70, isEmpty#71, count#72]
-(84) HashAggregate [codegen id : 30]
+(84) HashAggregate [codegen id : 52]
Input [6]: [i_brand_id#63, i_class_id#64, i_category_id#65, sum#70, isEmpty#71, count#72]
Keys [3]: [i_brand_id#63, i_class_id#64, i_category_id#65]
Functions [2]: [sum((cast(cs_quantity#58 as decimal(10,0)) * cs_list_price#59)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#58 as decimal(10,0)) * cs_list_price#59))#73, count(1)#74]
Results [5]: [i_brand_id#63, i_class_id#64, i_category_id#65, sum((cast(cs_quantity#58 as decimal(10,0)) * cs_list_price#59))#73 AS sales#75, count(1)#74 AS number_sales#76]
-(85) Filter [codegen id : 30]
+(85) Filter [codegen id : 52]
Input [5]: [i_brand_id#63, i_class_id#64, i_category_id#65, sales#75, number_sales#76]
Condition : (isnotnull(sales#75) AND (cast(sales#75 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#51, [id=#52] as decimal(32,6))))
-(86) Project [codegen id : 30]
+(86) Project [codegen id : 52]
Output [6]: [sales#75, number_sales#76, catalog AS channel#77, i_brand_id#63, i_class_id#64, i_category_id#65]
Input [5]: [i_brand_id#63, i_class_id#64, i_category_id#65, sales#75, number_sales#76]
@@ -522,17 +522,17 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#81), dynamicpruningexpression(ws_so
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int,ws_quantity:int,ws_list_price:decimal(7,2)>
-(88) ColumnarToRow [codegen id : 44]
+(88) ColumnarToRow [codegen id : 77]
Input [4]: [ws_item_sk#78, ws_quantity#79, ws_list_price#80, ws_sold_date_sk#81]
-(89) Filter [codegen id : 44]
+(89) Filter [codegen id : 77]
Input [4]: [ws_item_sk#78, ws_quantity#79, ws_list_price#80, ws_sold_date_sk#81]
Condition : isnotnull(ws_item_sk#78)
(90) ReusedExchange [Reuses operator id: 51]
Output [1]: [ss_item_sk#82]
-(91) BroadcastHashJoin [codegen id : 44]
+(91) BroadcastHashJoin [codegen id : 77]
Left keys [1]: [ws_item_sk#78]
Right keys [1]: [ss_item_sk#82]
Join type: LeftSemi
@@ -541,30 +541,30 @@ Join condition: None
(92) ReusedExchange [Reuses operator id: 58]
Output [4]: [i_item_sk#83, i_brand_id#84, i_class_id#85, i_category_id#86]
-(93) BroadcastHashJoin [codegen id : 44]
+(93) BroadcastHashJoin [codegen id : 77]
Left keys [1]: [ws_item_sk#78]
Right keys [1]: [i_item_sk#83]
Join type: Inner
Join condition: None
-(94) Project [codegen id : 44]
+(94) Project [codegen id : 77]
Output [6]: [ws_quantity#79, ws_list_price#80, ws_sold_date_sk#81, i_brand_id#84, i_class_id#85, i_category_id#86]
Input [8]: [ws_item_sk#78, ws_quantity#79, ws_list_price#80, ws_sold_date_sk#81, i_item_sk#83, i_brand_id#84, i_class_id#85, i_category_id#86]
(95) ReusedExchange [Reuses operator id: 135]
Output [1]: [d_date_sk#87]
-(96) BroadcastHashJoin [codegen id : 44]
+(96) BroadcastHashJoin [codegen id : 77]
Left keys [1]: [ws_sold_date_sk#81]
Right keys [1]: [d_date_sk#87]
Join type: Inner
Join condition: None
-(97) Project [codegen id : 44]
+(97) Project [codegen id : 77]
Output [5]: [ws_quantity#79, ws_list_price#80, i_brand_id#84, i_class_id#85, i_category_id#86]
Input [7]: [ws_quantity#79, ws_list_price#80, ws_sold_date_sk#81, i_brand_id#84, i_class_id#85, i_category_id#86, d_date_sk#87]
-(98) HashAggregate [codegen id : 44]
+(98) HashAggregate [codegen id : 77]
Input [5]: [ws_quantity#79, ws_list_price#80, i_brand_id#84, i_class_id#85, i_category_id#86]
Keys [3]: [i_brand_id#84, i_class_id#85, i_category_id#86]
Functions [2]: [partial_sum((cast(ws_quantity#79 as decimal(10,0)) * ws_list_price#80)), partial_count(1)]
@@ -575,31 +575,31 @@ Results [6]: [i_brand_id#84, i_class_id#85, i_category_id#86, sum#91, isEmpty#92
Input [6]: [i_brand_id#84, i_class_id#85, i_category_id#86, sum#91, isEmpty#92, count#93]
Arguments: hashpartitioning(i_brand_id#84, i_class_id#85, i_category_id#86, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=11]
-(100) CometNativeColumnarToRow
+(100) CometColumnarToRow [codegen id : 78]
Input [6]: [i_brand_id#84, i_class_id#85, i_category_id#86, sum#91, isEmpty#92, count#93]
-(101) HashAggregate [codegen id : 45]
+(101) HashAggregate [codegen id : 78]
Input [6]: [i_brand_id#84, i_class_id#85, i_category_id#86, sum#91, isEmpty#92, count#93]
Keys [3]: [i_brand_id#84, i_class_id#85, i_category_id#86]
Functions [2]: [sum((cast(ws_quantity#79 as decimal(10,0)) * ws_list_price#80)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#79 as decimal(10,0)) * ws_list_price#80))#94, count(1)#95]
Results [5]: [i_brand_id#84, i_class_id#85, i_category_id#86, sum((cast(ws_quantity#79 as decimal(10,0)) * ws_list_price#80))#94 AS sales#96, count(1)#95 AS number_sales#97]
-(102) Filter [codegen id : 45]
+(102) Filter [codegen id : 78]
Input [5]: [i_brand_id#84, i_class_id#85, i_category_id#86, sales#96, number_sales#97]
Condition : (isnotnull(sales#96) AND (cast(sales#96 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#51, [id=#52] as decimal(32,6))))
-(103) Project [codegen id : 45]
+(103) Project [codegen id : 78]
Output [6]: [sales#96, number_sales#97, web AS channel#98, i_brand_id#84, i_class_id#85, i_category_id#86]
Input [5]: [i_brand_id#84, i_class_id#85, i_category_id#86, sales#96, number_sales#97]
(104) Union
-(105) Expand [codegen id : 46]
+(105) Expand [codegen id : 79]
Input [6]: [sales#49, number_sales#50, channel#53, i_brand_id#54, i_class_id#55, i_category_id#56]
Arguments: [[sales#49, number_sales#50, channel#53, i_brand_id#54, i_class_id#55, i_category_id#56, 0], [sales#49, number_sales#50, channel#53, i_brand_id#54, i_class_id#55, null, 1], [sales#49, number_sales#50, channel#53, i_brand_id#54, null, null, 3], [sales#49, number_sales#50, channel#53, null, null, null, 7], [sales#49, number_sales#50, null, null, null, null, 15]], [sales#49, number_sales#50, channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103]
-(106) HashAggregate [codegen id : 46]
+(106) HashAggregate [codegen id : 79]
Input [7]: [sales#49, number_sales#50, channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103]
Keys [5]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103]
Functions [2]: [partial_sum(sales#49), partial_sum(number_sales#50)]
@@ -610,10 +610,10 @@ Results [8]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spa
Input [8]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103, sum#107, isEmpty#108, sum#109]
Arguments: hashpartitioning(channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=12]
-(108) CometNativeColumnarToRow
+(108) CometColumnarToRow [codegen id : 80]
Input [8]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103, sum#107, isEmpty#108, sum#109]
-(109) HashAggregate [codegen id : 47]
+(109) HashAggregate [codegen id : 80]
Input [8]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103, sum#107, isEmpty#108, sum#109]
Keys [5]: [channel#99, i_brand_id#100, i_class_id#101, i_category_id#102, spark_grouping_id#103]
Functions [2]: [sum(sales#49), sum(number_sales#50)]
@@ -628,7 +628,7 @@ Arguments: 100, [channel#99 ASC NULLS FIRST, i_brand_id#100 ASC NULLS FIRST, i_c
Subquery:1 Hosting operator id = 68 Hosting Expression = Subquery scalar-subquery#51, [id=#52]
* HashAggregate (130)
-+- CometNativeColumnarToRow (129)
++- * CometColumnarToRow (129)
+- CometColumnarExchange (128)
+- * HashAggregate (127)
+- Union (126)
@@ -656,19 +656,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#116), dynamicpruningexpression(ss_sold_date_sk#116 IN dynamicpruning#12)]
ReadSchema: struct<ss_quantity:int,ss_list_price:decimal(7,2)>
-(112) ColumnarToRow [codegen id : 1]
+(112) ColumnarToRow [codegen id : 2]
Input [3]: [ss_quantity#114, ss_list_price#115, ss_sold_date_sk#116]
(113) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#117]
-(114) BroadcastHashJoin [codegen id : 1]
+(114) BroadcastHashJoin [codegen id : 2]
Left keys [1]: [ss_sold_date_sk#116]
Right keys [1]: [d_date_sk#117]
Join type: Inner
Join condition: None
-(115) Project [codegen id : 1]
+(115) Project [codegen id : 2]
Output [2]: [ss_quantity#114 AS quantity#118, ss_list_price#115 AS list_price#119]
Input [4]: [ss_quantity#114, ss_list_price#115, ss_sold_date_sk#116, d_date_sk#117]
@@ -679,19 +679,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#122), dynamicpruningexpression(cs_sold_date_sk#122 IN dynamicpruning#12)]
ReadSchema: struct<cs_quantity:int,cs_list_price:decimal(7,2)>
-(117) ColumnarToRow [codegen id : 2]
+(117) ColumnarToRow [codegen id : 4]
Input [3]: [cs_quantity#120, cs_list_price#121, cs_sold_date_sk#122]
(118) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#123]
-(119) BroadcastHashJoin [codegen id : 2]
+(119) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [cs_sold_date_sk#122]
Right keys [1]: [d_date_sk#123]
Join type: Inner
Join condition: None
-(120) Project [codegen id : 2]
+(120) Project [codegen id : 4]
Output [2]: [cs_quantity#120 AS quantity#124, cs_list_price#121 AS list_price#125]
Input [4]: [cs_quantity#120, cs_list_price#121, cs_sold_date_sk#122, d_date_sk#123]
@@ -702,25 +702,25 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#128), dynamicpruningexpression(ws_sold_date_sk#128 IN dynamicpruning#12)]
ReadSchema: struct<ws_quantity:int,ws_list_price:decimal(7,2)>
-(122) ColumnarToRow [codegen id : 3]
+(122) ColumnarToRow [codegen id : 6]
Input [3]: [ws_quantity#126, ws_list_price#127, ws_sold_date_sk#128]
(123) ReusedExchange [Reuses operator id: 140]
Output [1]: [d_date_sk#129]
-(124) BroadcastHashJoin [codegen id : 3]
+(124) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ws_sold_date_sk#128]
Right keys [1]: [d_date_sk#129]
Join type: Inner
Join condition: None
-(125) Project [codegen id : 3]
+(125) Project [codegen id : 6]
Output [2]: [ws_quantity#126 AS quantity#130, ws_list_price#127 AS list_price#131]
Input [4]: [ws_quantity#126, ws_list_price#127, ws_sold_date_sk#128, d_date_sk#129]
(126) Union
-(127) HashAggregate [codegen id : 4]
+(127) HashAggregate [codegen id : 7]
Input [2]: [quantity#118, list_price#119]
Keys: []
Functions [1]: [partial_avg((cast(quantity#118 as decimal(10,0)) * list_price#119))]
@@ -731,10 +731,10 @@ Results [2]: [sum#134, count#135]
Input [2]: [sum#134, count#135]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=13]
-(129) CometNativeColumnarToRow
+(129) CometColumnarToRow [codegen id : 8]
Input [2]: [sum#134, count#135]
-(130) HashAggregate [codegen id : 5]
+(130) HashAggregate [codegen id : 8]
Input [2]: [sum#134, count#135]
Keys: []
Functions [1]: [avg((cast(quantity#118 as decimal(10,0)) * list_price#119))]
@@ -749,7 +749,7 @@ Subquery:4 Hosting operator id = 121 Hosting Expression = ws_sold_date_sk#128 IN
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (135)
-+- CometNativeColumnarToRow (134)
++- * CometColumnarToRow (134)
+- CometProject (133)
+- CometFilter (132)
+- CometNativeScan parquet spark_catalog.default.date_dim (131)
@@ -770,7 +770,7 @@ Condition : ((((isnotnull(d_year#138) AND isnotnull(d_moy#139)) AND (d_year#138
Input [3]: [d_date_sk#40, d_year#138, d_moy#139]
Arguments: [d_date_sk#40], [d_date_sk#40]
-(134) CometNativeColumnarToRow
+(134) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#40]
(135) BroadcastExchange
@@ -779,7 +779,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint))
Subquery:6 Hosting operator id = 7 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (140)
-+- CometNativeColumnarToRow (139)
++- * CometColumnarToRow (139)
+- CometProject (138)
+- CometFilter (137)
+- CometNativeScan parquet spark_catalog.default.date_dim (136)
@@ -800,7 +800,7 @@ Condition : (((isnotnull(d_year#140) AND (d_year#140 >= 1999)) AND (d_year#140 <
Input [2]: [d_date_sk#24, d_year#140]
Arguments: [d_date_sk#24], [d_date_sk#24]
-(139) CometNativeColumnarToRow
+(139) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#24]
(140) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/extended.txt
index 223593e3d..dfd3434d9 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/extended.txt
@@ -1,6 +1,6 @@
TakeOrderedAndProject
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Expand
@@ -9,7 +9,7 @@ TakeOrderedAndProject
: +- Filter
: : +- Subquery
: : +- HashAggregate
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometColumnarExchange
: : +- HashAggregate
: : +- Union
@@ -19,7 +19,7 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -29,7 +29,7 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -39,12 +39,12 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- HashAggregate
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometColumnarExchange
: +- HashAggregate
: +- Project
@@ -57,19 +57,19 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
: : : +- Project
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometHashAggregate
: : : : +- CometColumnarExchange
: : : : +- HashAggregate
@@ -82,13 +82,13 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : : +- BroadcastExchange
: : : : : +- BroadcastHashJoin
- : : : : : :- CometNativeColumnarToRow
+ : : : : : :- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
@@ -101,16 +101,16 @@ TakeOrderedAndProject
: : : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : : +- ReusedSubquery
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -124,28 +124,28 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- ReusedSubquery
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometHashAggregate
: : : +- CometColumnarExchange
: : : +- HashAggregate
@@ -158,13 +158,13 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
@@ -177,16 +177,16 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- ReusedSubquery
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -200,16 +200,16 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -217,7 +217,7 @@ TakeOrderedAndProject
: +- Filter
: : +- ReusedSubquery
: +- HashAggregate
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometColumnarExchange
: +- HashAggregate
: +- Project
@@ -232,12 +232,12 @@ TakeOrderedAndProject
: : : +- BroadcastExchange
: : : +- Project
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometHashAggregate
: : : : +- CometColumnarExchange
: : : : +- HashAggregate
@@ -250,13 +250,13 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : : +- BroadcastExchange
: : : : : +- BroadcastHashJoin
- : : : : : :- CometNativeColumnarToRow
+ : : : : : :- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
@@ -269,16 +269,16 @@ TakeOrderedAndProject
: : : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : : +- ReusedSubquery
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -292,28 +292,28 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- ReusedSubquery
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometHashAggregate
: : : +- CometColumnarExchange
: : : +- HashAggregate
@@ -326,13 +326,13 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
@@ -345,16 +345,16 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- ReusedSubquery
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -368,16 +368,16 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -385,7 +385,7 @@ TakeOrderedAndProject
+- Filter
: +- ReusedSubquery
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
@@ -400,12 +400,12 @@ TakeOrderedAndProject
: : +- BroadcastExchange
: : +- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometHashAggregate
: : : +- CometColumnarExchange
: : : +- HashAggregate
@@ -418,13 +418,13 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
@@ -437,16 +437,16 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- ReusedSubquery
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -460,28 +460,28 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
: +- Project
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometHashAggregate
: : +- CometColumnarExchange
: : +- HashAggregate
@@ -494,13 +494,13 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
@@ -513,16 +513,16 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- ReusedSubquery
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -536,16 +536,16 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
+- CometNativeScan parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/simplified.txt
index f348396ac..c989fe9a8 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_datafusion/simplified.txt
@@ -1,28 +1,28 @@
TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),sum(number_sales)]
- WholeStageCodegen (47)
+ WholeStageCodegen (80)
HashAggregate [channel,i_brand_id,i_class_id,i_category_id,spark_grouping_id,sum,isEmpty,sum] [sum(sales),sum(number_salesL),sum(sales),sum(number_sales),sum,isEmpty,sum]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [channel,i_brand_id,i_class_id,i_category_id,spark_grouping_id] #1
- WholeStageCodegen (46)
+ WholeStageCodegen (79)
HashAggregate [channel,i_brand_id,i_class_id,i_category_id,spark_grouping_id,sales,number_sales] [sum,isEmpty,sum,sum,isEmpty,sum]
Expand [sales,number_sales,channel,i_brand_id,i_class_id,i_category_id]
InputAdapter
Union
- WholeStageCodegen (15)
+ WholeStageCodegen (26)
Project [sales,number_sales,i_brand_id,i_class_id,i_category_id]
Filter [sales]
Subquery #3
- WholeStageCodegen (5)
+ WholeStageCodegen (8)
HashAggregate [sum,count] [avg((cast(quantity as decimal(10,0)) * list_price)),average_sales,sum,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange #13
- WholeStageCodegen (4)
+ WholeStageCodegen (7)
HashAggregate [quantity,list_price] [sum,count,sum,count]
InputAdapter
Union
- WholeStageCodegen (1)
+ WholeStageCodegen (2)
Project [ss_quantity,ss_list_price]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -31,7 +31,7 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
ReusedSubquery [d_date_sk] #2
InputAdapter
ReusedExchange [d_date_sk] #7
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
Project [cs_quantity,cs_list_price]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -40,7 +40,7 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
ReusedSubquery [d_date_sk] #2
InputAdapter
ReusedExchange [d_date_sk] #7
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
Project [ws_quantity,ws_list_price]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -50,10 +50,10 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
InputAdapter
ReusedExchange [d_date_sk] #7
HashAggregate [i_brand_id,i_class_id,i_category_id,sum,isEmpty,count] [sum((cast(ss_quantity as decimal(10,0)) * ss_list_price)),count(1),sales,number_sales,sum,isEmpty,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [i_brand_id,i_class_id,i_category_id] #2
- WholeStageCodegen (14)
+ WholeStageCodegen (25)
HashAggregate [i_brand_id,i_class_id,i_category_id,ss_quantity,ss_list_price] [sum,isEmpty,count,sum,isEmpty,count]
Project [ss_quantity,ss_list_price,i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
@@ -66,28 +66,30 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
InputAdapter
BroadcastExchange #4
- WholeStageCodegen (6)
+ WholeStageCodegen (11)
Project [i_item_sk]
BroadcastHashJoin [i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
BroadcastExchange #5
- WholeStageCodegen (5)
+ WholeStageCodegen (10)
BroadcastHashJoin [brand_id,class_id,category_id,i_brand_id,i_class_id,i_category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometHashAggregate [brand_id,class_id,category_id]
CometColumnarExchange [brand_id,class_id,category_id] #6
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
HashAggregate [brand_id,class_id,category_id]
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
@@ -99,21 +101,23 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
BroadcastExchange #8
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
BroadcastHashJoin [i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
BroadcastExchange #9
- WholeStageCodegen (1)
+ WholeStageCodegen (3)
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
Project [cs_sold_date_sk,i_brand_id,i_class_id,i_category_id]
@@ -125,16 +129,18 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
ReusedSubquery [d_date_sk] #2
InputAdapter
BroadcastExchange #10
- CometNativeColumnarToRow
- CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
- CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
+ CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
ReusedExchange [d_date_sk] #7
InputAdapter
ReusedExchange [d_date_sk] #7
InputAdapter
BroadcastExchange #11
- WholeStageCodegen (4)
+ WholeStageCodegen (9)
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
Project [ws_sold_date_sk,i_brand_id,i_class_id,i_category_id]
@@ -150,25 +156,25 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
ReusedExchange [d_date_sk] #7
InputAdapter
BroadcastExchange #12
- WholeStageCodegen (13)
+ WholeStageCodegen (23)
BroadcastHashJoin [i_item_sk,ss_item_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
ReusedExchange [ss_item_sk] #4
InputAdapter
ReusedExchange [d_date_sk] #3
- WholeStageCodegen (30)
+ WholeStageCodegen (52)
Project [sales,number_sales,i_brand_id,i_class_id,i_category_id]
Filter [sales]
ReusedSubquery [average_sales] #3
HashAggregate [i_brand_id,i_class_id,i_category_id,sum,isEmpty,count] [sum((cast(cs_quantity as decimal(10,0)) * cs_list_price)),count(1),sales,number_sales,sum,isEmpty,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [i_brand_id,i_class_id,i_category_id] #14
- WholeStageCodegen (29)
+ WholeStageCodegen (51)
HashAggregate [i_brand_id,i_class_id,i_category_id,cs_quantity,cs_list_price] [sum,isEmpty,count,sum,isEmpty,count]
Project [cs_quantity,cs_list_price,i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
@@ -186,15 +192,15 @@ TakeOrderedAndProject [channel,i_brand_id,i_class_id,i_category_id,sum(sales),su
ReusedExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #12
InputAdapter
ReusedExchange [d_date_sk] #3
- WholeStageCodegen (45)
+ WholeStageCodegen (78)
Project [sales,number_sales,i_brand_id,i_class_id,i_category_id]
Filter [sales]
ReusedSubquery [average_sales] #3
HashAggregate [i_brand_id,i_class_id,i_category_id,sum,isEmpty,count] [sum((cast(ws_quantity as decimal(10,0)) * ws_list_price)),count(1),sales,number_sales,sum,isEmpty,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [i_brand_id,i_class_id,i_category_id] #15
- WholeStageCodegen (44)
+ WholeStageCodegen (77)
HashAggregate [i_brand_id,i_class_id,i_category_id,ws_quantity,ws_list_price] [sum,isEmpty,count,sum,isEmpty,count]
Project [ws_quantity,ws_list_price,i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/explain.txt
index b77116db1..22f1896b6 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/explain.txt
@@ -681,7 +681,7 @@ Subquery:4 Hosting operator id = 111 Hosting Expression = ws_sold_date_sk#117 IN
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (124)
-+- CometNativeColumnarToRow (123)
++- * CometColumnarToRow (123)
+- CometProject (122)
+- CometFilter (121)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (120)
@@ -702,7 +702,7 @@ Condition : ((((isnotnull(d_year#44) AND isnotnull(d_moy#45)) AND (d_year#44 = 2
Input [3]: [d_date_sk#43, d_year#44, d_moy#45]
Arguments: [d_date_sk#43], [d_date_sk#43]
-(123) CometNativeColumnarToRow
+(123) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#43]
(124) BroadcastExchange
@@ -711,7 +711,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint))
Subquery:6 Hosting operator id = 5 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (129)
-+- CometNativeColumnarToRow (128)
++- * CometColumnarToRow (128)
+- CometProject (127)
+- CometFilter (126)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (125)
@@ -732,7 +732,7 @@ Condition : (((isnotnull(d_year#125) AND (d_year#125 >= 1999)) AND (d_year#125 <
Input [2]: [d_date_sk#26, d_year#125]
Arguments: [d_date_sk#26], [d_date_sk#26]
-(128) CometNativeColumnarToRow
+(128) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#26]
(129) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/extended.txt
index 49ad7403f..4af04a784 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/extended.txt
@@ -49,7 +49,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -71,7 +71,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -135,7 +135,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -213,7 +213,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -277,7 +277,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -355,7 +355,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -419,7 +419,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/simplified.txt
index fea195091..79c782f2c 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a.native_iceberg_compat/simplified.txt
@@ -44,10 +44,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
CometBroadcastExchange [ss_item_sk] #4
CometProject [i_item_sk] [ss_item_sk]
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
@@ -66,10 +68,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #8
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/explain.txt
index b77116db1..22f1896b6 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/explain.txt
@@ -681,7 +681,7 @@ Subquery:4 Hosting operator id = 111 Hosting Expression = ws_sold_date_sk#117 IN
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (124)
-+- CometNativeColumnarToRow (123)
++- * CometColumnarToRow (123)
+- CometProject (122)
+- CometFilter (121)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (120)
@@ -702,7 +702,7 @@ Condition : ((((isnotnull(d_year#44) AND isnotnull(d_moy#45)) AND (d_year#44 = 2
Input [3]: [d_date_sk#43, d_year#44, d_moy#45]
Arguments: [d_date_sk#43], [d_date_sk#43]
-(123) CometNativeColumnarToRow
+(123) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#43]
(124) BroadcastExchange
@@ -711,7 +711,7 @@ Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint))
Subquery:6 Hosting operator id = 5 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (129)
-+- CometNativeColumnarToRow (128)
++- * CometColumnarToRow (128)
+- CometProject (127)
+- CometFilter (126)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (125)
@@ -732,7 +732,7 @@ Condition : (((isnotnull(d_year#125) AND (d_year#125 >= 1999)) AND (d_year#125 <
Input [2]: [d_date_sk#26, d_year#125]
Arguments: [d_date_sk#26], [d_date_sk#26]
-(128) CometNativeColumnarToRow
+(128) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#26]
(129) BroadcastExchange
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/extended.txt
index 49ad7403f..4af04a784 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/extended.txt
@@ -49,7 +49,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -71,7 +71,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -135,7 +135,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -213,7 +213,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -277,7 +277,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -355,7 +355,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -419,7 +419,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/simplified.txt
index fea195091..79c782f2c 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14a/simplified.txt
@@ -44,10 +44,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #3
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year,d_moy]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year,d_moy]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
CometBroadcastExchange [ss_item_sk] #4
CometProject [i_item_sk] [ss_item_sk]
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
@@ -66,10 +68,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #2
BroadcastExchange #7
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #8
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/explain.txt
index 6afb8eabe..563fa0a20 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/explain.txt
@@ -3,7 +3,7 @@ TakeOrderedAndProject (87)
+- * BroadcastHashJoin Inner BuildRight (86)
:- * Filter (68)
: +- * HashAggregate (67)
- : +- CometNativeColumnarToRow (66)
+ : +- * CometColumnarToRow (66)
: +- CometColumnarExchange (65)
: +- * HashAggregate (64)
: +- * Project (63)
@@ -17,12 +17,12 @@ TakeOrderedAndProject (87)
: : : +- BroadcastExchange (51)
: : : +- * Project (50)
: : : +- * BroadcastHashJoin Inner BuildRight (49)
- : : : :- CometNativeColumnarToRow (6)
+ : : : :- * CometColumnarToRow (6)
: : : : +- CometFilter (5)
: : : : +- CometNativeScan parquet spark_catalog.default.item (4)
: : : +- BroadcastExchange (48)
: : : +- * BroadcastHashJoin LeftSemi BuildRight (47)
- : : : :- CometNativeColumnarToRow (36)
+ : : : :- * CometColumnarToRow (36)
: : : : +- CometHashAggregate (35)
: : : : +- CometColumnarExchange (34)
: : : : +- * HashAggregate (33)
@@ -35,7 +35,7 @@ TakeOrderedAndProject (87)
: : : : : : +- Scan parquet spark_catalog.default.store_sales (7)
: : : : : +- BroadcastExchange (27)
: : : : : +- * BroadcastHashJoin LeftSemi BuildRight (26)
- : : : : : :- CometNativeColumnarToRow (12)
+ : : : : : :- * CometColumnarToRow (12)
: : : : : : +- CometFilter (11)
: : : : : : +- CometNativeScan parquet spark_catalog.default.item (10)
: : : : : +- BroadcastExchange (25)
@@ -47,7 +47,7 @@ TakeOrderedAndProject (87)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet spark_catalog.default.catalog_sales (13)
: : : : : : +- BroadcastExchange (19)
- : : : : : : +- CometNativeColumnarToRow (18)
+ : : : : : : +- * CometColumnarToRow (18)
: : : : : : +- CometFilter (17)
: : : : : : +- CometNativeScan parquet spark_catalog.default.item (16)
: : : : : +- ReusedExchange (22)
@@ -64,7 +64,7 @@ TakeOrderedAndProject (87)
: : : +- ReusedExchange (43)
: : +- BroadcastExchange (58)
: : +- * BroadcastHashJoin LeftSemi BuildRight (57)
- : : :- CometNativeColumnarToRow (55)
+ : : :- * CometColumnarToRow (55)
: : : +- CometFilter (54)
: : : +- CometNativeScan parquet spark_catalog.default.item (53)
: : +- ReusedExchange (56)
@@ -72,7 +72,7 @@ TakeOrderedAndProject (87)
+- BroadcastExchange (85)
+- * Filter (84)
+- * HashAggregate (83)
- +- CometNativeColumnarToRow (82)
+ +- * CometColumnarToRow (82)
+- CometColumnarExchange (81)
+- * HashAggregate (80)
+- * Project (79)
@@ -96,10 +96,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#4), dynamicpruningexpression(ss_sol
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int,ss_quantity:int,ss_list_price:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 14]
+(2) ColumnarToRow [codegen id : 25]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
-(3) Filter [codegen id : 14]
+(3) Filter [codegen id : 25]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
Condition : isnotnull(ss_item_sk#1)
@@ -114,7 +114,7 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
Condition : ((isnotnull(i_brand_id#7) AND isnotnull(i_class_id#8)) AND isnotnull(i_category_id#9))
-(6) CometNativeColumnarToRow
+(6) CometColumnarToRow [codegen id : 11]
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
(7) Scan parquet spark_catalog.default.store_sales
@@ -125,10 +125,10 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#11), dynamicpruningexpression(ss_so
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int>
-(8) ColumnarToRow [codegen id : 3]
+(8) ColumnarToRow [codegen id : 6]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]
-(9) Filter [codegen id : 3]
+(9) Filter [codegen id : 6]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]
Condition : isnotnull(ss_item_sk#10)
@@ -143,7 +143,7 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
Condition : (((isnotnull(i_item_sk#13) AND isnotnull(i_brand_id#14)) AND isnotnull(i_class_id#15)) AND isnotnull(i_category_id#16))
-(12) CometNativeColumnarToRow
+(12) CometColumnarToRow [codegen id : 4]
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
(13) Scan parquet spark_catalog.default.catalog_sales
@@ -154,10 +154,10 @@ PartitionFilters: [isnotnull(cs_sold_date_sk#18), dynamicpruningexpression(cs_so
PushedFilters: [IsNotNull(cs_item_sk)]
ReadSchema: struct<cs_item_sk:int>
-(14) ColumnarToRow [codegen id : 1]
+(14) ColumnarToRow [codegen id : 3]
Input [2]: [cs_item_sk#17, cs_sold_date_sk#18]
-(15) Filter [codegen id : 1]
+(15) Filter [codegen id : 3]
Input [2]: [cs_item_sk#17, cs_sold_date_sk#18]
Condition : isnotnull(cs_item_sk#17)
@@ -172,33 +172,33 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
Condition : isnotnull(i_item_sk#19)
-(18) CometNativeColumnarToRow
+(18) CometColumnarToRow [codegen id : 1]
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
(19) BroadcastExchange
Input [4]: [i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=1]
-(20) BroadcastHashJoin [codegen id : 1]
+(20) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [cs_item_sk#17]
Right keys [1]: [i_item_sk#19]
Join type: Inner
Join condition: None
-(21) Project [codegen id : 1]
+(21) Project [codegen id : 3]
Output [4]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22]
Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#19, i_brand_id#20, i_class_id#21, i_category_id#22]
(22) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#23]
-(23) BroadcastHashJoin [codegen id : 1]
+(23) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [cs_sold_date_sk#18]
Right keys [1]: [d_date_sk#23]
Join type: Inner
Join condition: None
-(24) Project [codegen id : 1]
+(24) Project [codegen id : 3]
Output [3]: [i_brand_id#20, i_class_id#21, i_category_id#22]
Input [5]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22, d_date_sk#23]
@@ -206,7 +206,7 @@ Input [5]: [cs_sold_date_sk#18, i_brand_id#20, i_class_id#21, i_category_id#22,
Input [3]: [i_brand_id#20, i_class_id#21, i_category_id#22]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, int, true], 0), isnull(input[0, int, true]), coalesce(input[1, int, true], 0), isnull(input[1, int, true]), coalesce(input[2, int, true], 0), isnull(input[2, int, true])),false), [plan_id=2]
-(26) BroadcastHashJoin [codegen id : 2]
+(26) BroadcastHashJoin [codegen id : 4]
Left keys [6]: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)]
Right keys [6]: [coalesce(i_brand_id#20, 0), isnull(i_brand_id#20), coalesce(i_class_id#21, 0), isnull(i_class_id#21), coalesce(i_category_id#22, 0), isnull(i_category_id#22)]
Join type: LeftSemi
@@ -216,30 +216,30 @@ Join condition: None
Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=3]
-(28) BroadcastHashJoin [codegen id : 3]
+(28) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_item_sk#10]
Right keys [1]: [i_item_sk#13]
Join type: Inner
Join condition: None
-(29) Project [codegen id : 3]
+(29) Project [codegen id : 6]
Output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16]
Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16]
(30) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#24]
-(31) BroadcastHashJoin [codegen id : 3]
+(31) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ss_sold_date_sk#11]
Right keys [1]: [d_date_sk#24]
Join type: Inner
Join condition: None
-(32) Project [codegen id : 3]
+(32) Project [codegen id : 6]
Output [3]: [i_brand_id#14 AS brand_id#25, i_class_id#15 AS class_id#26, i_category_id#16 AS category_id#27]
Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#24]
-(33) HashAggregate [codegen id : 3]
+(33) HashAggregate [codegen id : 6]
Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
@@ -255,7 +255,7 @@ Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
-(36) CometNativeColumnarToRow
+(36) CometColumnarToRow [codegen id : 10]
Input [3]: [brand_id#25, class_id#26, category_id#27]
(37) Scan parquet spark_catalog.default.web_sales
@@ -266,36 +266,36 @@ PartitionFilters: [isnotnull(ws_sold_date_sk#29), dynamicpruningexpression(ws_so
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int>
-(38) ColumnarToRow [codegen id : 4]
+(38) ColumnarToRow [codegen id : 9]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]
-(39) Filter [codegen id : 4]
+(39) Filter [codegen id : 9]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]
Condition : isnotnull(ws_item_sk#28)
(40) ReusedExchange [Reuses operator id: 19]
Output [4]: [i_item_sk#30, i_brand_id#31, i_class_id#32, i_category_id#33]
-(41) BroadcastHashJoin [codegen id : 4]
+(41) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ws_item_sk#28]
Right keys [1]: [i_item_sk#30]
Join type: Inner
Join condition: None
-(42) Project [codegen id : 4]
+(42) Project [codegen id : 9]
Output [4]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33]
Input [6]: [ws_item_sk#28, ws_sold_date_sk#29, i_item_sk#30, i_brand_id#31, i_class_id#32, i_category_id#33]
(43) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#34]
-(44) BroadcastHashJoin [codegen id : 4]
+(44) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ws_sold_date_sk#29]
Right keys [1]: [d_date_sk#34]
Join type: Inner
Join condition: None
-(45) Project [codegen id : 4]
+(45) Project [codegen id : 9]
Output [3]: [i_brand_id#31, i_class_id#32, i_category_id#33]
Input [5]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33, d_date_sk#34]
@@ -303,7 +303,7 @@ Input [5]: [ws_sold_date_sk#29, i_brand_id#31, i_class_id#32, i_category_id#33,
Input [3]: [i_brand_id#31, i_class_id#32, i_category_id#33]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, int, true], 0), isnull(input[0, int, true]), coalesce(input[1, int, true], 0), isnull(input[1, int, true]), coalesce(input[2, int, true], 0), isnull(input[2, int, true])),false), [plan_id=5]
-(47) BroadcastHashJoin [codegen id : 5]
+(47) BroadcastHashJoin [codegen id : 10]
Left keys [6]: [coalesce(brand_id#25, 0), isnull(brand_id#25), coalesce(class_id#26, 0), isnull(class_id#26), coalesce(category_id#27, 0), isnull(category_id#27)]
Right keys [6]: [coalesce(i_brand_id#31, 0), isnull(i_brand_id#31), coalesce(i_class_id#32, 0), isnull(i_class_id#32), coalesce(i_category_id#33, 0), isnull(i_category_id#33)]
Join type: LeftSemi
@@ -313,13 +313,13 @@ Join condition: None
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: HashedRelationBroadcastMode(List(input[0, int, true], input[1, int, true], input[2, int, true]),false), [plan_id=6]
-(49) BroadcastHashJoin [codegen id : 6]
+(49) BroadcastHashJoin [codegen id : 11]
Left keys [3]: [i_brand_id#7, i_class_id#8, i_category_id#9]
Right keys [3]: [brand_id#25, class_id#26, category_id#27]
Join type: Inner
Join condition: None
-(50) Project [codegen id : 6]
+(50) Project [codegen id : 11]
Output [1]: [i_item_sk#6 AS ss_item_sk#35]
Input [7]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9, brand_id#25, class_id#26, category_id#27]
@@ -327,7 +327,7 @@ Input [7]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9, brand_id#2
Input [1]: [ss_item_sk#35]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=7]
-(52) BroadcastHashJoin [codegen id : 14]
+(52) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
@@ -344,13 +344,13 @@ ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
Condition : (((isnotnull(i_item_sk#36) AND isnotnull(i_brand_id#37)) AND isnotnull(i_class_id#38)) AND isnotnull(i_category_id#39))
-(55) CometNativeColumnarToRow
+(55) CometColumnarToRow [codegen id : 23]
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
(56) ReusedExchange [Reuses operator id: 51]
Output [1]: [ss_item_sk#35]
-(57) BroadcastHashJoin [codegen id : 13]
+(57) BroadcastHashJoin [codegen id : 23]
Left keys [1]: [i_item_sk#36]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
@@ -360,30 +360,30 @@ Join condition: None
Input [4]: [i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=8]
-(59) BroadcastHashJoin [codegen id : 14]
+(59) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [i_item_sk#36]
Join type: Inner
Join condition: None
-(60) Project [codegen id : 14]
+(60) Project [codegen id : 25]
Output [6]: [ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_brand_id#37, i_class_id#38, i_category_id#39]
Input [8]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_item_sk#36, i_brand_id#37, i_class_id#38, i_category_id#39]
(61) ReusedExchange [Reuses operator id: 112]
Output [1]: [d_date_sk#40]
-(62) BroadcastHashJoin [codegen id : 14]
+(62) BroadcastHashJoin [codegen id : 25]
Left keys [1]: [ss_sold_date_sk#4]
Right keys [1]: [d_date_sk#40]
Join type: Inner
Join condition: None
-(63) Project [codegen id : 14]
+(63) Project [codegen id : 25]
Output [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#37, i_class_id#38, i_category_id#39]
Input [7]: [ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, i_brand_id#37, i_class_id#38, i_category_id#39, d_date_sk#40]
-(64) HashAggregate [codegen id : 14]
+(64) HashAggregate [codegen id : 25]
Input [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#37, i_class_id#38, i_category_id#39]
Keys [3]: [i_brand_id#37, i_class_id#38, i_category_id#39]
Functions [2]: [partial_sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), partial_count(1)]
@@ -394,17 +394,17 @@ Results [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
Arguments: hashpartitioning(i_brand_id#37, i_class_id#38, i_category_id#39, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=9]
-(66) CometNativeColumnarToRow
+(66) CometColumnarToRow [codegen id : 52]
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
-(67) HashAggregate [codegen id : 30]
+(67) HashAggregate [codegen id : 52]
Input [6]: [i_brand_id#37, i_class_id#38, i_category_id#39, sum#44, isEmpty#45, count#46]
Keys [3]: [i_brand_id#37, i_class_id#38, i_category_id#39]
Functions [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47, count(1)#48]
Results [6]: [store AS channel#49, i_brand_id#37, i_class_id#38, i_category_id#39, sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47 AS sales#50, count(1)#48 AS number_sales#51]
-(68) Filter [codegen id : 30]
+(68) Filter [codegen id : 52]
Input [6]: [channel#49, i_brand_id#37, i_class_id#38, i_category_id#39, sales#50, number_sales#51]
Condition : (isnotnull(sales#50) AND (cast(sales#50 as decimal(32,6)) > cast(Subquery scalar-subquery#52, [id=#53] as decimal(32,6))))
@@ -416,17 +416,17 @@ PartitionFilters: [isnotnull(ss_sold_date_sk#57), dynamicpruningexpression(ss_so
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int,ss_quantity:int,ss_list_price:decimal(7,2)>
-(70) ColumnarToRow [codegen id : 28]
+(70) ColumnarToRow [codegen id : 50]
Input [4]: [ss_item_sk#54, ss_quantity#55, ss_list_price#56, ss_sold_date_sk#57]
-(71) Filter [codegen id : 28]
+(71) Filter [codegen id : 50]
Input [4]: [ss_item_sk#54, ss_quantity#55, ss_list_price#56, ss_sold_date_sk#57]
Condition : isnotnull(ss_item_sk#54)
(72) ReusedExchange [Reuses operator id: 51]
Output [1]: [ss_item_sk#59]
-(73) BroadcastHashJoin [codegen id : 28]
+(73) BroadcastHashJoin [codegen id : 50]
Left keys [1]: [ss_item_sk#54]
Right keys [1]: [ss_item_sk#59]
Join type: LeftSemi
@@ -435,30 +435,30 @@ Join condition: None
(74) ReusedExchange [Reuses operator id: 58]
Output [4]: [i_item_sk#60, i_brand_id#61, i_class_id#62, i_category_id#63]
-(75) BroadcastHashJoin [codegen id : 28]
+(75) BroadcastHashJoin [codegen id : 50]
Left keys [1]: [ss_item_sk#54]
Right keys [1]: [i_item_sk#60]
Join type: Inner
Join condition: None
-(76) Project [codegen id : 28]
+(76) Project [codegen id : 50]
Output [6]: [ss_quantity#55, ss_list_price#56, ss_sold_date_sk#57, i_brand_id#61, i_class_id#62, i_category_id#63]
Input [8]: [ss_item_sk#54, ss_quantity#55, ss_list_price#56, ss_sold_date_sk#57, i_item_sk#60, i_brand_id#61, i_class_id#62, i_category_id#63]
(77) ReusedExchange [Reuses operator id: 126]
Output [1]: [d_date_sk#64]
-(78) BroadcastHashJoin [codegen id : 28]
+(78) BroadcastHashJoin [codegen id : 50]
Left keys [1]: [ss_sold_date_sk#57]
Right keys [1]: [d_date_sk#64]
Join type: Inner
Join condition: None
-(79) Project [codegen id : 28]
+(79) Project [codegen id : 50]
Output [5]: [ss_quantity#55, ss_list_price#56, i_brand_id#61, i_class_id#62, i_category_id#63]
Input [7]: [ss_quantity#55, ss_list_price#56, ss_sold_date_sk#57, i_brand_id#61, i_class_id#62, i_category_id#63, d_date_sk#64]
-(80) HashAggregate [codegen id : 28]
+(80) HashAggregate [codegen id : 50]
Input [5]: [ss_quantity#55, ss_list_price#56, i_brand_id#61, i_class_id#62, i_category_id#63]
Keys [3]: [i_brand_id#61, i_class_id#62, i_category_id#63]
Functions [2]: [partial_sum((cast(ss_quantity#55 as decimal(10,0)) * ss_list_price#56)), partial_count(1)]
@@ -469,17 +469,17 @@ Results [6]: [i_brand_id#61, i_class_id#62, i_category_id#63, sum#68, isEmpty#69
Input [6]: [i_brand_id#61, i_class_id#62, i_category_id#63, sum#68, isEmpty#69, count#70]
Arguments: hashpartitioning(i_brand_id#61, i_class_id#62, i_category_id#63, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=10]
-(82) CometNativeColumnarToRow
+(82) CometColumnarToRow [codegen id : 51]
Input [6]: [i_brand_id#61, i_class_id#62, i_category_id#63, sum#68, isEmpty#69, count#70]
-(83) HashAggregate [codegen id : 29]
+(83) HashAggregate [codegen id : 51]
Input [6]: [i_brand_id#61, i_class_id#62, i_category_id#63, sum#68, isEmpty#69, count#70]
Keys [3]: [i_brand_id#61, i_class_id#62, i_category_id#63]
Functions [2]: [sum((cast(ss_quantity#55 as decimal(10,0)) * ss_list_price#56)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#55 as decimal(10,0)) * ss_list_price#56))#71, count(1)#72]
Results [6]: [store AS channel#73, i_brand_id#61, i_class_id#62, i_category_id#63, sum((cast(ss_quantity#55 as decimal(10,0)) * ss_list_price#56))#71 AS sales#74, count(1)#72 AS number_sales#75]
-(84) Filter [codegen id : 29]
+(84) Filter [codegen id : 51]
Input [6]: [channel#73, i_brand_id#61, i_class_id#62, i_category_id#63, sales#74, number_sales#75]
Condition : (isnotnull(sales#74) AND (cast(sales#74 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#53] as decimal(32,6))))
@@ -487,7 +487,7 @@ Condition : (isnotnull(sales#74) AND (cast(sales#74 as decimal(32,6)) > cast(Reu
Input [6]: [channel#73, i_brand_id#61, i_class_id#62, i_category_id#63, sales#74, number_sales#75]
Arguments: HashedRelationBroadcastMode(List(input[1, int, true], input[2, int, true], input[3, int, true]),false), [plan_id=11]
-(86) BroadcastHashJoin [codegen id : 30]
+(86) BroadcastHashJoin [codegen id : 52]
Left keys [3]: [i_brand_id#37, i_class_id#38, i_category_id#39]
Right keys [3]: [i_brand_id#61, i_class_id#62, i_category_id#63]
Join type: Inner
@@ -501,7 +501,7 @@ Arguments: 100, [i_brand_id#37 ASC NULLS FIRST, i_class_id#38 ASC NULLS FIRST, i
Subquery:1 Hosting operator id = 68 Hosting Expression = Subquery scalar-subquery#52, [id=#53]
* HashAggregate (107)
-+- CometNativeColumnarToRow (106)
++- * CometColumnarToRow (106)
+- CometColumnarExchange (105)
+- * HashAggregate (104)
+- Union (103)
@@ -529,19 +529,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#78), dynamicpruningexpression(ss_sold_date_sk#78 IN dynamicpruning#12)]
ReadSchema: struct<ss_quantity:int,ss_list_price:decimal(7,2)>
-(89) ColumnarToRow [codegen id : 1]
+(89) ColumnarToRow [codegen id : 2]
Input [3]: [ss_quantity#76, ss_list_price#77, ss_sold_date_sk#78]
(90) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#79]
-(91) BroadcastHashJoin [codegen id : 1]
+(91) BroadcastHashJoin [codegen id : 2]
Left keys [1]: [ss_sold_date_sk#78]
Right keys [1]: [d_date_sk#79]
Join type: Inner
Join condition: None
-(92) Project [codegen id : 1]
+(92) Project [codegen id : 2]
Output [2]: [ss_quantity#76 AS quantity#80, ss_list_price#77 AS list_price#81]
Input [4]: [ss_quantity#76, ss_list_price#77, ss_sold_date_sk#78, d_date_sk#79]
@@ -552,19 +552,19 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#84), dynamicpruningexpression(cs_sold_date_sk#84 IN dynamicpruning#12)]
ReadSchema: struct<cs_quantity:int,cs_list_price:decimal(7,2)>
-(94) ColumnarToRow [codegen id : 2]
+(94) ColumnarToRow [codegen id : 4]
Input [3]: [cs_quantity#82, cs_list_price#83, cs_sold_date_sk#84]
(95) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#85]
-(96) BroadcastHashJoin [codegen id : 2]
+(96) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [cs_sold_date_sk#84]
Right keys [1]: [d_date_sk#85]
Join type: Inner
Join condition: None
-(97) Project [codegen id : 2]
+(97) Project [codegen id : 4]
Output [2]: [cs_quantity#82 AS quantity#86, cs_list_price#83 AS list_price#87]
Input [4]: [cs_quantity#82, cs_list_price#83, cs_sold_date_sk#84, d_date_sk#85]
@@ -575,25 +575,25 @@ Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#90), dynamicpruningexpression(ws_sold_date_sk#90 IN dynamicpruning#12)]
ReadSchema: struct<ws_quantity:int,ws_list_price:decimal(7,2)>
-(99) ColumnarToRow [codegen id : 3]
+(99) ColumnarToRow [codegen id : 6]
Input [3]: [ws_quantity#88, ws_list_price#89, ws_sold_date_sk#90]
(100) ReusedExchange [Reuses operator id: 121]
Output [1]: [d_date_sk#91]
-(101) BroadcastHashJoin [codegen id : 3]
+(101) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [ws_sold_date_sk#90]
Right keys [1]: [d_date_sk#91]
Join type: Inner
Join condition: None
-(102) Project [codegen id : 3]
+(102) Project [codegen id : 6]
Output [2]: [ws_quantity#88 AS quantity#92, ws_list_price#89 AS list_price#93]
Input [4]: [ws_quantity#88, ws_list_price#89, ws_sold_date_sk#90, d_date_sk#91]
(103) Union
-(104) HashAggregate [codegen id : 4]
+(104) HashAggregate [codegen id : 7]
Input [2]: [quantity#80, list_price#81]
Keys: []
Functions [1]: [partial_avg((cast(quantity#80 as decimal(10,0)) * list_price#81))]
@@ -604,10 +604,10 @@ Results [2]: [sum#96, count#97]
Input [2]: [sum#96, count#97]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=12]
-(106) CometNativeColumnarToRow
+(106) CometColumnarToRow [codegen id : 8]
Input [2]: [sum#96, count#97]
-(107) HashAggregate [codegen id : 5]
+(107) HashAggregate [codegen id : 8]
Input [2]: [sum#96, count#97]
Keys: []
Functions [1]: [avg((cast(quantity#80 as decimal(10,0)) * list_price#81))]
@@ -622,7 +622,7 @@ Subquery:4 Hosting operator id = 98 Hosting Expression = ws_sold_date_sk#90 IN d
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (112)
-+- CometNativeColumnarToRow (111)
++- * CometColumnarToRow (111)
+- CometProject (110)
+- CometFilter (109)
+- CometNativeScan parquet spark_catalog.default.date_dim (108)
@@ -643,7 +643,7 @@ Condition : ((isnotnull(d_week_seq#100) AND (d_week_seq#100 = Subquery scalar-su
Input [2]: [d_date_sk#40, d_week_seq#100]
Arguments: [d_date_sk#40], [d_date_sk#40]
-(111) CometNativeColumnarToRow
+(111) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#40]
(112) BroadcastExchange
@@ -651,7 +651,7 @@ Input [1]: [d_date_sk#40]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=13]
Subquery:6 Hosting operator id = 109 Hosting Expression = Subquery scalar-subquery#101, [id=#102]
-CometNativeColumnarToRow (116)
+* CometColumnarToRow (116)
+- CometProject (115)
+- CometFilter (114)
+- CometNativeScan parquet spark_catalog.default.date_dim (113)
@@ -672,12 +672,12 @@ Condition : (((((isnotnull(d_year#104) AND isnotnull(d_moy#105)) AND isnotnull(d
Input [4]: [d_week_seq#103, d_year#104, d_moy#105, d_dom#106]
Arguments: [d_week_seq#103], [d_week_seq#103]
-(116) CometNativeColumnarToRow
+(116) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#103]
Subquery:7 Hosting operator id = 7 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (121)
-+- CometNativeColumnarToRow (120)
++- * CometColumnarToRow (120)
+- CometProject (119)
+- CometFilter (118)
+- CometNativeScan parquet spark_catalog.default.date_dim (117)
@@ -698,7 +698,7 @@ Condition : (((isnotnull(d_year#107) AND (d_year#107 >= 1999)) AND (d_year#107 <
Input [2]: [d_date_sk#24, d_year#107]
Arguments: [d_date_sk#24], [d_date_sk#24]
-(120) CometNativeColumnarToRow
+(120) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#24]
(121) BroadcastExchange
@@ -713,7 +713,7 @@ Subquery:10 Hosting operator id = 84 Hosting Expression = ReusedSubquery Subquer
Subquery:11 Hosting operator id = 69 Hosting Expression = ss_sold_date_sk#57 IN dynamicpruning#58
BroadcastExchange (126)
-+- CometNativeColumnarToRow (125)
++- * CometColumnarToRow (125)
+- CometProject (124)
+- CometFilter (123)
+- CometNativeScan parquet spark_catalog.default.date_dim (122)
@@ -734,7 +734,7 @@ Condition : ((isnotnull(d_week_seq#108) AND (d_week_seq#108 = Subquery scalar-su
Input [2]: [d_date_sk#64, d_week_seq#108]
Arguments: [d_date_sk#64], [d_date_sk#64]
-(125) CometNativeColumnarToRow
+(125) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#64]
(126) BroadcastExchange
@@ -742,7 +742,7 @@ Input [1]: [d_date_sk#64]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=15]
Subquery:12 Hosting operator id = 123 Hosting Expression = Subquery scalar-subquery#109, [id=#110]
-CometNativeColumnarToRow (130)
+* CometColumnarToRow (130)
+- CometProject (129)
+- CometFilter (128)
+- CometNativeScan parquet spark_catalog.default.date_dim (127)
@@ -763,7 +763,7 @@ Condition : (((((isnotnull(d_year#112) AND isnotnull(d_moy#113)) AND isnotnull(d
Input [4]: [d_week_seq#111, d_year#112, d_moy#113, d_dom#114]
Arguments: [d_week_seq#111], [d_week_seq#111]
-(130) CometNativeColumnarToRow
+(130) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#111]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/extended.txt
index 7921f2fa6..c4138c254 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/extended.txt
@@ -3,7 +3,7 @@ TakeOrderedAndProject
:- Filter
: : +- Subquery
: : +- HashAggregate
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometColumnarExchange
: : +- HashAggregate
: : +- Union
@@ -13,7 +13,7 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -23,7 +23,7 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -33,12 +33,12 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- HashAggregate
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometColumnarExchange
: +- HashAggregate
: +- Project
@@ -51,11 +51,11 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : : +- Subquery
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -63,12 +63,12 @@ TakeOrderedAndProject
: : : +- BroadcastExchange
: : : +- Project
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometHashAggregate
: : : : +- CometColumnarExchange
: : : : +- HashAggregate
@@ -81,13 +81,13 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : : +- BroadcastExchange
: : : : : +- BroadcastHashJoin
- : : : : : :- CometNativeColumnarToRow
+ : : : : : :- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
@@ -100,16 +100,16 @@ TakeOrderedAndProject
: : : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : : +- ReusedSubquery
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometFilter
: : : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -123,28 +123,28 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- ReusedSubquery
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometHashAggregate
: : : +- CometColumnarExchange
: : : +- HashAggregate
@@ -157,13 +157,13 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
@@ -176,16 +176,16 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- ReusedSubquery
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -199,20 +199,20 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: : +- Subquery
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -221,7 +221,7 @@ TakeOrderedAndProject
+- Filter
: +- ReusedSubquery
+- HashAggregate
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometColumnarExchange
+- HashAggregate
+- Project
@@ -234,11 +234,11 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : : +- Subquery
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -246,12 +246,12 @@ TakeOrderedAndProject
: : +- BroadcastExchange
: : +- Project
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
: : +- BroadcastHashJoin
- : : :- CometNativeColumnarToRow
+ : : :- CometColumnarToRow
: : : +- CometHashAggregate
: : : +- CometColumnarExchange
: : : +- HashAggregate
@@ -264,13 +264,13 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : : +- BroadcastExchange
: : : : +- BroadcastHashJoin
- : : : : :- CometNativeColumnarToRow
+ : : : : :- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
@@ -283,16 +283,16 @@ TakeOrderedAndProject
: : : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : : +- ReusedSubquery
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometFilter
: : : : : +- CometNativeScan parquet spark_catalog.default.item
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -306,28 +306,28 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- ReusedSubquery
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.item
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
: +- BroadcastExchange
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
: +- Project
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
: +- BroadcastHashJoin
- : :- CometNativeColumnarToRow
+ : :- CometColumnarToRow
: : +- CometHashAggregate
: : +- CometColumnarExchange
: : +- HashAggregate
@@ -340,13 +340,13 @@ TakeOrderedAndProject
: : : : +- Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : : +- BroadcastExchange
: : : +- BroadcastHashJoin
- : : : :- CometNativeColumnarToRow
+ : : : :- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
@@ -359,16 +359,16 @@ TakeOrderedAndProject
: : : : : +- Scan parquet spark_catalog.default.catalog_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : : : +- ReusedSubquery
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometFilter
: : : : +- CometNativeScan parquet spark_catalog.default.item
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : +- CometNativeScan parquet spark_catalog.default.date_dim
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometProject
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.date_dim
@@ -382,20 +382,20 @@ TakeOrderedAndProject
: : : +- Scan parquet spark_catalog.default.web_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
: : : +- ReusedSubquery
: : +- BroadcastExchange
- : : +- CometNativeColumnarToRow
+ : : +- CometColumnarToRow
: : +- CometFilter
: : +- CometNativeScan parquet spark_catalog.default.item
: +- BroadcastExchange
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
+- BroadcastExchange
- +- CometNativeColumnarToRow
+ +- CometColumnarToRow
+- CometProject
+- CometFilter
: +- Subquery
- : +- CometNativeColumnarToRow
+ : +- CometColumnarToRow
: +- CometProject
: +- CometFilter
: +- CometNativeScan parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/simplified.txt
index 45d526a69..b0eae963c 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_datafusion/simplified.txt
@@ -1,18 +1,18 @@
TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_sales,channel,i_brand_id,i_class_id,i_category_id,sales,number_sales]
- WholeStageCodegen (30)
+ WholeStageCodegen (52)
BroadcastHashJoin [i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
Filter [sales]
Subquery #4
- WholeStageCodegen (5)
+ WholeStageCodegen (8)
HashAggregate [sum,count] [avg((cast(quantity as decimal(10,0)) * list_price)),average_sales,sum,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange #12
- WholeStageCodegen (4)
+ WholeStageCodegen (7)
HashAggregate [quantity,list_price] [sum,count,sum,count]
InputAdapter
Union
- WholeStageCodegen (1)
+ WholeStageCodegen (2)
Project [ss_quantity,ss_list_price]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -21,7 +21,7 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
ReusedSubquery [d_date_sk] #3
InputAdapter
ReusedExchange [d_date_sk] #6
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
Project [cs_quantity,cs_list_price]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -30,7 +30,7 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
ReusedSubquery [d_date_sk] #3
InputAdapter
ReusedExchange [d_date_sk] #6
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
Project [ws_quantity,ws_list_price]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
ColumnarToRow
@@ -40,10 +40,10 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
InputAdapter
ReusedExchange [d_date_sk] #6
HashAggregate [i_brand_id,i_class_id,i_category_id,sum,isEmpty,count] [sum((cast(ss_quantity as decimal(10,0)) * ss_list_price)),count(1),channel,sales,number_sales,sum,isEmpty,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [i_brand_id,i_class_id,i_category_id] #1
- WholeStageCodegen (14)
+ WholeStageCodegen (25)
HashAggregate [i_brand_id,i_class_id,i_category_id,ss_quantity,ss_list_price] [sum,isEmpty,count,sum,isEmpty,count]
Project [ss_quantity,ss_list_price,i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
@@ -56,33 +56,37 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #2
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometNativeScan parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #2
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
InputAdapter
BroadcastExchange #3
- WholeStageCodegen (6)
+ WholeStageCodegen (11)
Project [i_item_sk]
BroadcastHashJoin [i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
BroadcastExchange #4
- WholeStageCodegen (5)
+ WholeStageCodegen (10)
BroadcastHashJoin [brand_id,class_id,category_id,i_brand_id,i_class_id,i_category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometHashAggregate [brand_id,class_id,category_id]
CometColumnarExchange [brand_id,class_id,category_id] #5
- WholeStageCodegen (3)
+ WholeStageCodegen (6)
HashAggregate [brand_id,class_id,category_id]
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
@@ -94,21 +98,23 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #3
BroadcastExchange #6
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
InputAdapter
BroadcastExchange #7
- WholeStageCodegen (2)
+ WholeStageCodegen (4)
BroadcastHashJoin [i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
BroadcastExchange #8
- WholeStageCodegen (1)
+ WholeStageCodegen (3)
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
Project [cs_sold_date_sk,i_brand_id,i_class_id,i_category_id]
@@ -120,16 +126,18 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
ReusedSubquery [d_date_sk] #3
InputAdapter
BroadcastExchange #9
- CometNativeColumnarToRow
- CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
- CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
+ CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
ReusedExchange [d_date_sk] #6
InputAdapter
ReusedExchange [d_date_sk] #6
InputAdapter
BroadcastExchange #10
- WholeStageCodegen (4)
+ WholeStageCodegen (9)
Project [i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
Project [ws_sold_date_sk,i_brand_id,i_class_id,i_category_id]
@@ -145,10 +153,10 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
ReusedExchange [d_date_sk] #6
InputAdapter
BroadcastExchange #11
- WholeStageCodegen (13)
+ WholeStageCodegen (23)
BroadcastHashJoin [i_item_sk,ss_item_sk]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
CometNativeScan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_class_id,i_category_id]
InputAdapter
@@ -157,14 +165,14 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
ReusedExchange [d_date_sk] #2
InputAdapter
BroadcastExchange #13
- WholeStageCodegen (29)
+ WholeStageCodegen (51)
Filter [sales]
ReusedSubquery [average_sales] #4
HashAggregate [i_brand_id,i_class_id,i_category_id,sum,isEmpty,count] [sum((cast(ss_quantity as decimal(10,0)) * ss_list_price)),count(1),channel,sales,number_sales,sum,isEmpty,count]
- InputAdapter
- CometNativeColumnarToRow
+ CometColumnarToRow
+ InputAdapter
CometColumnarExchange [i_brand_id,i_class_id,i_category_id] #14
- WholeStageCodegen (28)
+ WholeStageCodegen (50)
HashAggregate [i_brand_id,i_class_id,i_category_id,ss_quantity,ss_list_price] [sum,isEmpty,count,sum,isEmpty,count]
Project [ss_quantity,ss_list_price,i_brand_id,i_class_id,i_category_id]
BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
@@ -177,15 +185,19 @@ TakeOrderedAndProject [i_brand_id,i_class_id,i_category_id,channel,sales,number_
Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #5
BroadcastExchange #15
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #6
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometNativeScan parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #6
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometNativeScan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
InputAdapter
ReusedExchange [ss_item_sk] #3
InputAdapter
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/explain.txt
index 845b3a9e5..879213d89 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/explain.txt
@@ -592,7 +592,7 @@ Subquery:4 Hosting operator id = 94 Hosting Expression = ws_sold_date_sk#91 IN d
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (107)
-+- CometNativeColumnarToRow (106)
++- * CometColumnarToRow (106)
+- CometProject (105)
+- CometFilter (104)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (103)
@@ -613,7 +613,7 @@ Condition : ((isnotnull(d_week_seq#44) AND (d_week_seq#44 = Subquery scalar-subq
Input [2]: [d_date_sk#43, d_week_seq#44]
Arguments: [d_date_sk#43], [d_date_sk#43]
-(106) CometNativeColumnarToRow
+(106) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#43]
(107) BroadcastExchange
@@ -621,7 +621,7 @@ Input [1]: [d_date_sk#43]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=5]
Subquery:6 Hosting operator id = 104 Hosting Expression = Subquery scalar-subquery#45, [id=#46]
-CometNativeColumnarToRow (111)
+* CometColumnarToRow (111)
+- CometProject (110)
+- CometFilter (109)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (108)
@@ -642,12 +642,12 @@ Condition : (((((isnotnull(d_year#100) AND isnotnull(d_moy#101)) AND isnotnull(d
Input [4]: [d_week_seq#99, d_year#100, d_moy#101, d_dom#102]
Arguments: [d_week_seq#99], [d_week_seq#99]
-(111) CometNativeColumnarToRow
+(111) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#99]
Subquery:7 Hosting operator id = 5 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (116)
-+- CometNativeColumnarToRow (115)
++- * CometColumnarToRow (115)
+- CometProject (114)
+- CometFilter (113)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (112)
@@ -668,7 +668,7 @@ Condition : (((isnotnull(d_year#103) AND (d_year#103 >= 1999)) AND (d_year#103 <
Input [2]: [d_date_sk#26, d_year#103]
Arguments: [d_date_sk#26], [d_date_sk#26]
-(115) CometNativeColumnarToRow
+(115) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#26]
(116) BroadcastExchange
@@ -685,7 +685,7 @@ Subquery:11 Hosting operator id = 81 Hosting Expression = ReusedSubquery Subquer
Subquery:12 Hosting operator id = 65 Hosting Expression = ss_sold_date_sk#58 IN dynamicpruning#59
BroadcastExchange (121)
-+- CometNativeColumnarToRow (120)
++- * CometColumnarToRow (120)
+- CometProject (119)
+- CometFilter (118)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (117)
@@ -706,7 +706,7 @@ Condition : ((isnotnull(d_week_seq#66) AND (d_week_seq#66 = Subquery scalar-subq
Input [2]: [d_date_sk#65, d_week_seq#66]
Arguments: [d_date_sk#65], [d_date_sk#65]
-(120) CometNativeColumnarToRow
+(120) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#65]
(121) BroadcastExchange
@@ -714,7 +714,7 @@ Input [1]: [d_date_sk#65]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=7]
Subquery:13 Hosting operator id = 118 Hosting Expression = Subquery scalar-subquery#67, [id=#68]
-CometNativeColumnarToRow (125)
+* CometColumnarToRow (125)
+- CometProject (124)
+- CometFilter (123)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (122)
@@ -735,7 +735,7 @@ Condition : (((((isnotnull(d_year#105) AND isnotnull(d_moy#106)) AND isnotnull(d
Input [4]: [d_week_seq#104, d_year#105, d_moy#106, d_dom#107]
Arguments: [d_week_seq#104], [d_week_seq#104]
-(125) CometNativeColumnarToRow
+(125) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#104]
Subquery:14 Hosting operator id = 73 Hosting Expression = ReusedSubquery Subquery scalar-subquery#67, [id=#68]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/extended.txt
index c1b791f35..f56d229b6 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/extended.txt
@@ -44,11 +44,11 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : : +- Subquery
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -71,7 +71,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -135,7 +135,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -197,11 +197,11 @@ CometColumnarToRow
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : : +- Subquery
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -224,7 +224,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -288,7 +288,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/simplified.txt
index 71f9d72e7..fb9abae37 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b.native_iceberg_compat/simplified.txt
@@ -39,15 +39,19 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #2
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #2
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
CometBroadcastExchange [ss_item_sk] #3
CometProject [i_item_sk] [ss_item_sk]
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
@@ -66,10 +70,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #3
BroadcastExchange #6
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #7
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
@@ -125,15 +131,19 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #5
BroadcastExchange #17
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #6
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #6
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
ReusedExchange [ss_item_sk] #3
ReusedExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #12
CometBroadcastExchange [d_date_sk] #18
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/explain.txt
index 845b3a9e5..879213d89 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/explain.txt
@@ -592,7 +592,7 @@ Subquery:4 Hosting operator id = 94 Hosting Expression = ws_sold_date_sk#91 IN d
Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (107)
-+- CometNativeColumnarToRow (106)
++- * CometColumnarToRow (106)
+- CometProject (105)
+- CometFilter (104)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (103)
@@ -613,7 +613,7 @@ Condition : ((isnotnull(d_week_seq#44) AND (d_week_seq#44 = Subquery scalar-subq
Input [2]: [d_date_sk#43, d_week_seq#44]
Arguments: [d_date_sk#43], [d_date_sk#43]
-(106) CometNativeColumnarToRow
+(106) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#43]
(107) BroadcastExchange
@@ -621,7 +621,7 @@ Input [1]: [d_date_sk#43]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=5]
Subquery:6 Hosting operator id = 104 Hosting Expression = Subquery scalar-subquery#45, [id=#46]
-CometNativeColumnarToRow (111)
+* CometColumnarToRow (111)
+- CometProject (110)
+- CometFilter (109)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (108)
@@ -642,12 +642,12 @@ Condition : (((((isnotnull(d_year#100) AND isnotnull(d_moy#101)) AND isnotnull(d
Input [4]: [d_week_seq#99, d_year#100, d_moy#101, d_dom#102]
Arguments: [d_week_seq#99], [d_week_seq#99]
-(111) CometNativeColumnarToRow
+(111) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#99]
Subquery:7 Hosting operator id = 5 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (116)
-+- CometNativeColumnarToRow (115)
++- * CometColumnarToRow (115)
+- CometProject (114)
+- CometFilter (113)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (112)
@@ -668,7 +668,7 @@ Condition : (((isnotnull(d_year#103) AND (d_year#103 >= 1999)) AND (d_year#103 <
Input [2]: [d_date_sk#26, d_year#103]
Arguments: [d_date_sk#26], [d_date_sk#26]
-(115) CometNativeColumnarToRow
+(115) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#26]
(116) BroadcastExchange
@@ -685,7 +685,7 @@ Subquery:11 Hosting operator id = 81 Hosting Expression = ReusedSubquery Subquer
Subquery:12 Hosting operator id = 65 Hosting Expression = ss_sold_date_sk#58 IN dynamicpruning#59
BroadcastExchange (121)
-+- CometNativeColumnarToRow (120)
++- * CometColumnarToRow (120)
+- CometProject (119)
+- CometFilter (118)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (117)
@@ -706,7 +706,7 @@ Condition : ((isnotnull(d_week_seq#66) AND (d_week_seq#66 = Subquery scalar-subq
Input [2]: [d_date_sk#65, d_week_seq#66]
Arguments: [d_date_sk#65], [d_date_sk#65]
-(120) CometNativeColumnarToRow
+(120) CometColumnarToRow [codegen id : 1]
Input [1]: [d_date_sk#65]
(121) BroadcastExchange
@@ -714,7 +714,7 @@ Input [1]: [d_date_sk#65]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=7]
Subquery:13 Hosting operator id = 118 Hosting Expression = Subquery scalar-subquery#67, [id=#68]
-CometNativeColumnarToRow (125)
+* CometColumnarToRow (125)
+- CometProject (124)
+- CometFilter (123)
+- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim (122)
@@ -735,7 +735,7 @@ Condition : (((((isnotnull(d_year#105) AND isnotnull(d_moy#106)) AND isnotnull(d
Input [4]: [d_week_seq#104, d_year#105, d_moy#106, d_dom#107]
Arguments: [d_week_seq#104], [d_week_seq#104]
-(125) CometNativeColumnarToRow
+(125) CometColumnarToRow [codegen id : 1]
Input [1]: [d_week_seq#104]
Subquery:14 Hosting operator id = 73 Hosting Expression = ReusedSubquery Subquery scalar-subquery#67, [id=#68]
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/extended.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/extended.txt
index c1b791f35..f56d229b6 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/extended.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/extended.txt
@@ -44,11 +44,11 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : : +- Subquery
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -71,7 +71,7 @@ CometColumnarToRow
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : : +- SubqueryBroadcast
: : : : : : +- BroadcastExchange
- : : : : : : +- CometNativeColumnarToRow
+ : : : : : : +- CometColumnarToRow
: : : : : : +- CometProject
: : : : : : +- CometFilter
: : : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -135,7 +135,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -197,11 +197,11 @@ CometColumnarToRow
: : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : +- SubqueryBroadcast
: : : +- BroadcastExchange
- : : : +- CometNativeColumnarToRow
+ : : : +- CometColumnarToRow
: : : +- CometProject
: : : +- CometFilter
: : : : +- Subquery
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -224,7 +224,7 @@ CometColumnarToRow
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : : +- SubqueryBroadcast
: : : : : +- BroadcastExchange
- : : : : : +- CometNativeColumnarToRow
+ : : : : : +- CometColumnarToRow
: : : : : +- CometProject
: : : : : +- CometFilter
: : : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
@@ -288,7 +288,7 @@ CometColumnarToRow
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
: : : : +- SubqueryBroadcast
: : : : +- BroadcastExchange
- : : : : +- CometNativeColumnarToRow
+ : : : : +- CometColumnarToRow
: : : : +- CometProject
: : : : +- CometFilter
: : : : +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/simplified.txt
index 71f9d72e7..fb9abae37 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/simplified.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q14b/simplified.txt
@@ -39,15 +39,19 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #1
BroadcastExchange #2
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #2
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #2
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
CometBroadcastExchange [ss_item_sk] #3
CometProject [i_item_sk] [ss_item_sk]
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,brand_id,class_id,category_id]
@@ -66,10 +70,12 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #3
BroadcastExchange #6
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_year]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_year]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year]
CometBroadcastExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #7
CometBroadcastHashJoin [i_item_sk,i_brand_id,i_class_id,i_category_id,i_brand_id,i_class_id,i_category_id]
CometFilter [i_item_sk,i_brand_id,i_class_id,i_category_id]
@@ -125,15 +131,19 @@ WholeStageCodegen (1)
CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_item_sk,ss_quantity,ss_list_price,ss_sold_date_sk]
SubqueryBroadcast [d_date_sk] #5
BroadcastExchange #17
- CometNativeColumnarToRow
- CometProject [d_date_sk]
- CometFilter [d_date_sk,d_week_seq]
- Subquery #6
- CometNativeColumnarToRow
- CometProject [d_week_seq]
- CometFilter [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_date_sk]
+ CometFilter [d_date_sk,d_week_seq]
+ Subquery #6
+ WholeStageCodegen (1)
+ CometColumnarToRow
+ InputAdapter
+ CometProject [d_week_seq]
+ CometFilter [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_week_seq,d_year,d_moy,d_dom]
+ CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq]
ReusedExchange [ss_item_sk] #3
ReusedExchange [i_item_sk,i_brand_id,i_class_id,i_category_id] #12
CometBroadcastExchange [d_date_sk] #18
diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q15.native_datafusion/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q15.native_datafusion/explain.txt
index a9b46e19b..594939616 100644
--- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q15.native_datafusion/explain.txt
+++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4-spark3_5/q15.native_datafusion/explain.txt
@@ -1,7 +1,7 @@
== Physical Plan ==
TakeOrderedAndProject (24)
+- * HashAggregate (23)
- +- CometNativeColumnarToRow (22)
+ +- * CometColumnarToRow (22)
+- CometColumnarExchange (21)
+- * HashAggregate (20)
+- * Project (19)
@@ -14,11 +14,11 @@ TakeOrderedAndProject (24)
: : : +- * ColumnarToRow (2)
: : : +- Scan parquet spark_catalog.default.catalog_sales (1)
: : +- BroadcastExchange (7)
- : : +- CometNativeColumnarToRow (6)
+ : : +- * CometColumnarToRow (6)
: : +- CometFilter (5)
: : +- CometNativeScan parquet spark_catalog.default.customer (4)
: +- BroadcastExchange (14)
- : +- CometNativeColumnarToRow (13)
+ : +- * CometColumnarToRow (13)
: +- CometProject (12)
: +- CometFilter (11)
: +- CometNativeScan parquet spark_catalog.default.customer_address (10)
@@ -33,10 +33,10 @@ PartitionFilters: [isnotnull(cs_sold_date_sk#3), dynamicpruningexpression(cs_sol
PushedFilters: [IsNotNull(cs_bill_customer_sk)]
ReadSchema: struct<cs_bill_customer_sk:int,cs_sales_price:decimal(7,2)>
-(2) ColumnarToRow [codegen id : 1]
+(2) ColumnarToRow [codegen id : 4]
Input [3]: [cs_bill_customer_sk#1, cs_sales_price#2, cs_sold_date_sk#3]
-(3) Filter [codegen id : 1]
+(3) Filter [codegen id : 4]
Input [3]: [cs_bill_customer_sk#1, cs_sales_price#2, cs_sold_date_sk#3]
Condition : isnotnull(cs_bill_customer_sk#1)
@@ -51,20 +51,20 @@ ReadSchema: struct<c_customer_sk:int,c_current_addr_sk:int>
Input [2]: [c_customer_sk#5, c_current_addr_sk#6]
Condition : (isnotnull(c_customer_sk#5) AND isnotnull(c_current_addr_sk#6))
-(6) CometNativeColumnarToRow
+(6) CometColumnarToRow [codegen id : 1]
Input [2]: [c_customer_sk#5, c_current_addr_sk#6]
(7) BroadcastExchange
Input [2]: [c_customer_sk#5, c_current_addr_sk#6]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=1]
-(8) BroadcastHashJoin [codegen id : 1]
+(8) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [cs_bill_customer_sk#1]
Right keys [1]: [c_customer_sk#5]
Join type: Inner
Join condition: None
-(9) Project [codegen id : 1]
+(9) Project [codegen id : 4]
Output [3]: [cs_sales_price#2, cs_sold_date_sk#3, c_current_addr_sk#6]
Input [5]: [cs_bill_customer_sk#1, cs_sales_price#2, cs_sold_date_sk#3, c_customer_sk#5, c_current_addr_sk#6]
@@ -83,37 +83,37 @@ Condition : isnotnull(ca_address_sk#7)
Input [3]: [ca_address_sk#7, ca_state#8, ca_zip#9]
Arguments: [ca_address_sk#7, ca_state#10, ca_zip#11], [ca_address_sk#7, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, ca_state#8, 2, true, false, true) AS ca_state#10, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, ca_zip#9, 10, true, false, true) AS ca_zip#11]
-(13) CometNativeColumnarToRow
+(13) CometColumnarToRow [codegen id : 2]
Input [3]: [ca_address_sk#7, ca_state#10, ca_zip#11]
(14) BroadcastExchange
Input [3]: [ca_address_sk#7, ca_state#10, ca_zip#11]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2]
-(15) BroadcastHashJoin [codegen id : 1]
+(15) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [c_current_addr_sk#6]
Right keys [1]: [ca_address_sk#7]
Join type: Inner
Join condition: ((substr(ca_zip#11, 1, 5) IN (85669,86197,88274,83405,86475,85392,85460,80348,81792) OR ca_state#10 IN (CA,WA,GA)) OR (cs_sales_price#2 > 500.00))
-(16) Project [codegen id : 1]
+(16) Project [codegen id : 4]
Output [3]: [cs_sales_price#2, cs_sold_date_sk#3, ca_zip#11]
Input [6]: [cs_sales_price#2, cs_sold_date_sk#3, c_current_addr_sk#6, ca_address_sk#7, ca_state#10, ca_zip#11]
(17) ReusedExchange [Reuses operator id: 29]
Output [1]: [d_date_sk#12]
-(18) BroadcastHashJoin [codegen id : 1]
+(18) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [cs_sold_date_sk#3]
Right keys [1]: [d_date_sk#12]
Join type: Inner
Join condition: None
-(19) Project [codegen id : 1]
+(19) Project [codegen id : 4]
Output [2]: [cs_sales_price#2, ca_zip#11]
Input [4]: [cs_sales_price#2, cs_sold_date_sk#3, ca_zip#11, d_date_sk#12]
-(20) HashAggregate [codegen id : 1]
+(20) HashAggregate [codegen id : 4]
Input [2]: [cs_sales_price#2, ca_zip#11]
Keys [1]: [ca_zip#11]
Functions [1]: [partial_sum(UnscaledValue(cs_sales_price#2))]
@@ -124,10 +124,10 @@ Results [2]: [ca_zip#11, sum#14]
Input [2]: [ca_zip#11, sum#14]
Arguments: hashpartitioning(ca_zip#11, 5), ENSURE_REQUIREMENTS, CometColumnarShuffle, [plan_id=3]
-(22) CometNativeColumnarToRow
+(22) CometColumnarToRow [codegen id : 5]
Input [2]: [ca_zip#11, sum#14]
-(23) HashAggregate [codegen id : 2]
+(23) HashAggregate [codegen id : 5]
Input [2]: [ca_zip#11, sum#14]
Keys [1]: [ca_zip#11]
Functions [1]: [sum(UnscaledValue(cs_sales_price#2))]
@@ -142,7 +142,7 @@ Arguments: 100, [ca_zip#11 ASC NULLS FIRST], [ca_zip#11, sum(cs_sales_price)#16]
Subquery:1 Hosting operator id = 1 Hosting Expression = cs_sold_date_sk#3 IN dynamicpruning#4
BroadcastExchange (29)
-+- CometNativeColumnarToRow (28)
++- * CometColumnarToRow (28)
+- CometProject (27)
... 242876 lines suppressed ...
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org