TakeOrderedAndProject
+- Filter
   +- HashAggregate
      +- HashAggregate
         +- Project
            +- BroadcastHashJoin
               :-  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).]
               :  +- CometColumnarToRow
               :     +- CometSort
               :        +- CometExchange
               :           +- CometProject
               :              +- CometFilter
               :                 +- CometSortMergeJoin
               :                    :- CometSort
               :                    :  +- CometColumnarExchange
               :                    :     +- HashAggregate
               :                    :        +- CometColumnarToRow
               :                    :           +- CometColumnarExchange
               :                    :              +- HashAggregate
               :                    :                 +- Project
               :                    :                    +- BroadcastHashJoin
               :                    :                       :- 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).]
               :                    :                       :     +- CometColumnarToRow
               :                    :                       :        +- CometSort
               :                    :                       :           +- CometExchange
               :                    :                       :              +- CometHashAggregate
               :                    :                       :                 +- CometExchange
               :                    :                       :                    +- CometHashAggregate
               :                    :                       :                       +- CometProject
               :                    :                       :                          +- CometBroadcastHashJoin
               :                    :                       :                             :- CometFilter
               :                    :                       :                             :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
               :                    :                       :                             :        +- SubqueryBroadcast
               :                    :                       :                             :           +- BroadcastExchange
               :                    :                       :                             :              +- CometNativeColumnarToRow
               :                    :                       :                             :                 +- CometProject
               :                    :                       :                             :                    +- CometFilter
               :                    :                       :                             :                       +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               :                    :                       :                             +- CometBroadcastExchange
               :                    :                       :                                +- CometProject
               :                    :                       :                                   +- CometFilter
               :                    :                       :                                      +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               :                    :                       +- BroadcastExchange
               :                    :                          +- 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).]
               :                    :                                +- CometColumnarToRow
               :                    :                                   +- CometSort
               :                    :                                      +- CometExchange
               :                    :                                         +- CometHashAggregate
               :                    :                                            +- CometExchange
               :                    :                                               +- CometHashAggregate
               :                    :                                                  +- CometProject
               :                    :                                                     +- CometBroadcastHashJoin
               :                    :                                                        :- CometFilter
               :                    :                                                        :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
               :                    :                                                        :        +- SubqueryBroadcast
               :                    :                                                        :           +- BroadcastExchange
               :                    :                                                        :              +- CometNativeColumnarToRow
               :                    :                                                        :                 +- CometProject
               :                    :                                                        :                    +- CometFilter
               :                    :                                                        :                       +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               :                    :                                                        +- CometBroadcastExchange
               :                    :                                                           +- CometProject
               :                    :                                                              +- CometFilter
               :                    :                                                                 +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               :                    +- CometSort
               :                       +- CometColumnarExchange
               :                          +- HashAggregate
               :                             +- CometColumnarToRow
               :                                +- CometColumnarExchange
               :                                   +- HashAggregate
               :                                      +- Project
               :                                         +- BroadcastHashJoin
               :                                            :- 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).]
               :                                            :     +- CometColumnarToRow
               :                                            :        +- CometSort
               :                                            :           +- CometExchange
               :                                            :              +- CometHashAggregate
               :                                            :                 +- CometExchange
               :                                            :                    +- CometHashAggregate
               :                                            :                       +- CometProject
               :                                            :                          +- CometBroadcastHashJoin
               :                                            :                             :- CometFilter
               :                                            :                             :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
               :                                            :                             :        +- ReusedSubquery
               :                                            :                             +- CometBroadcastExchange
               :                                            :                                +- CometProject
               :                                            :                                   +- CometFilter
               :                                            :                                      +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               :                                            +- BroadcastExchange
               :                                               +- 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).]
               :                                                     +- CometColumnarToRow
               :                                                        +- CometSort
               :                                                           +- CometExchange
               :                                                              +- CometHashAggregate
               :                                                                 +- CometExchange
               :                                                                    +- CometHashAggregate
               :                                                                       +- CometProject
               :                                                                          +- CometBroadcastHashJoin
               :                                                                             :- CometFilter
               :                                                                             :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
               :                                                                             :        +- ReusedSubquery
               :                                                                             +- CometBroadcastExchange
               :                                                                                +- CometProject
               :                                                                                   +- CometFilter
               :                                                                                      +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
               +- BroadcastExchange
                  +- 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).]
                        +- CometColumnarToRow
                           +- CometSort
                              +- CometExchange
                                 +- CometProject
                                    +- CometFilter
                                       +- CometSortMergeJoin
                                          :- CometSort
                                          :  +- CometColumnarExchange
                                          :     +- HashAggregate
                                          :        +- CometColumnarToRow
                                          :           +- CometColumnarExchange
                                          :              +- HashAggregate
                                          :                 +- Project
                                          :                    +- BroadcastHashJoin
                                          :                       :- 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).]
                                          :                       :     +- CometColumnarToRow
                                          :                       :        +- CometSort
                                          :                       :           +- CometExchange
                                          :                       :              +- CometHashAggregate
                                          :                       :                 +- CometExchange
                                          :                       :                    +- CometHashAggregate
                                          :                       :                       +- CometProject
                                          :                       :                          +- CometBroadcastHashJoin
                                          :                       :                             :- CometFilter
                                          :                       :                             :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
                                          :                       :                             :        +- SubqueryBroadcast
                                          :                       :                             :           +- BroadcastExchange
                                          :                       :                             :              +- CometNativeColumnarToRow
                                          :                       :                             :                 +- CometProject
                                          :                       :                             :                    +- CometFilter
                                          :                       :                             :                       +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
                                          :                       :                             +- CometBroadcastExchange
                                          :                       :                                +- CometProject
                                          :                       :                                   +- CometFilter
                                          :                       :                                      +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
                                          :                       +- BroadcastExchange
                                          :                          +- 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).]
                                          :                                +- CometColumnarToRow
                                          :                                   +- CometSort
                                          :                                      +- CometExchange
                                          :                                         +- CometHashAggregate
                                          :                                            +- CometExchange
                                          :                                               +- CometHashAggregate
                                          :                                                  +- CometProject
                                          :                                                     +- CometBroadcastHashJoin
                                          :                                                        :- CometFilter
                                          :                                                        :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales
                                          :                                                        :        +- SubqueryBroadcast
                                          :                                                        :           +- BroadcastExchange
                                          :                                                        :              +- CometNativeColumnarToRow
                                          :                                                        :                 +- CometProject
                                          :                                                        :                    +- CometFilter
                                          :                                                        :                       +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
                                          :                                                        +- CometBroadcastExchange
                                          :                                                           +- CometProject
                                          :                                                              +- CometFilter
                                          :                                                                 +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
                                          +- CometSort
                                             +- CometColumnarExchange
                                                +- HashAggregate
                                                   +- CometColumnarToRow
                                                      +- CometColumnarExchange
                                                         +- HashAggregate
                                                            +- Project
                                                               +- BroadcastHashJoin
                                                                  :- 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).]
                                                                  :     +- CometColumnarToRow
                                                                  :        +- CometSort
                                                                  :           +- CometExchange
                                                                  :              +- CometHashAggregate
                                                                  :                 +- CometExchange
                                                                  :                    +- CometHashAggregate
                                                                  :                       +- CometProject
                                                                  :                          +- CometBroadcastHashJoin
                                                                  :                             :- CometFilter
                                                                  :                             :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
                                                                  :                             :        +- ReusedSubquery
                                                                  :                             +- CometBroadcastExchange
                                                                  :                                +- CometProject
                                                                  :                                   +- CometFilter
                                                                  :                                      +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim
                                                                  +- BroadcastExchange
                                                                     +- 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).]
                                                                           +- CometColumnarToRow
                                                                              +- CometSort
                                                                                 +- CometExchange
                                                                                    +- CometHashAggregate
                                                                                       +- CometExchange
                                                                                          +- CometHashAggregate
                                                                                             +- CometProject
                                                                                                +- CometBroadcastHashJoin
                                                                                                   :- CometFilter
                                                                                                   :  +- CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales
                                                                                                   :        +- ReusedSubquery
                                                                                                   +- CometBroadcastExchange
                                                                                                      +- CometProject
                                                                                                         +- CometFilter
                                                                                                            +- CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim

Comet accelerated 138 out of 196 eligible operators (70%). Final plan contains 18 transitions between Spark and Comet.