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
         +- CometSort
            +- CometColumnarExchange
               +- HashAggregate
                  +- CometNativeColumnarToRow
                     +- CometColumnarExchange
                        +- HashAggregate
                           +- Expand
                              +- Project
                                 +- BroadcastHashJoin
                                    :- Project
                                    :  +- BroadcastHashJoin
                                    :     :- Filter
                                    :     :  +- ColumnarToRow
                                    :     :     +-  Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
                                    :     :           +- SubqueryBroadcast
                                    :     :              +- BroadcastExchange
                                    :     :                 +- CometNativeColumnarToRow
                                    :     :                    +- CometProject
                                    :     :                       +- CometFilter
                                    :     :                          +- CometNativeScan parquet spark_catalog.default.date_dim
                                    :     +- BroadcastExchange
                                    :        +- CometNativeColumnarToRow
                                    :           +- CometProject
                                    :              +- CometFilter
                                    :                 +- CometNativeScan parquet spark_catalog.default.date_dim
                                    +- BroadcastExchange
                                       +- Project
                                          +- BroadcastHashJoin
                                             :- CometNativeColumnarToRow
                                             :  +- CometFilter
                                             :     +- CometNativeScan parquet spark_catalog.default.store
                                             +- BroadcastExchange
                                                +- Project
                                                   +- Filter
                                                      +- Window
                                                         +- Sort
                                                            +- HashAggregate
                                                               +- CometNativeColumnarToRow
                                                                  +- CometColumnarExchange
                                                                     +- HashAggregate
                                                                        +- Project
                                                                           +- BroadcastHashJoin
                                                                              :- Project
                                                                              :  +- BroadcastHashJoin
                                                                              :     :- Filter
                                                                              :     :  +- ColumnarToRow
                                                                              :     :     +-  Scan parquet spark_catalog.default.store_sales [COMET: Native DataFusion scan does not support subqueries/dynamic pruning]
                                                                              :     :           +- ReusedSubquery
                                                                              :     +- BroadcastExchange
                                                                              :        +- CometNativeColumnarToRow
                                                                              :           +- CometProject
                                                                              :              +- CometFilter
                                                                              :                 +- CometNativeScan parquet spark_catalog.default.store
                                                                              +- BroadcastExchange
                                                                                 +- CometNativeColumnarToRow
                                                                                    +- CometProject
                                                                                       +- CometFilter
                                                                                          +- CometNativeScan parquet spark_catalog.default.date_dim

Comet accelerated 18 out of 52 eligible operators (34%). Final plan contains 10 transitions between Spark and Comet.