comphead opened a new issue, #2971: URL: https://github.com/apache/datafusion-comet/issues/2971
### Describe the bug Comet writes executes twice with AQE <img width="396" height="429" alt="Image" src="https://github.com/user-attachments/assets/1574482c-03d4-4ef8-8643-86bfe7cd836c" /> ``` == Physical Plan == AdaptiveSparkPlan (8) +- == Final Plan == CometNativeWrite (5) +- CometNativeWrite (4) +- ShuffleQueryStage (3), Statistics(sizeInBytes=9.5 KiB, rowCount=1.00E+3) +- CometExchange (2) +- CometScan [native_iceberg_compat] parquet (1) +- == Initial Plan == CometNativeWrite (7) +- CometExchange (6) +- CometScan [native_iceberg_compat] parquet (1) ``` ### Steps to reproduce Folder `output3` doesn't exist ``` spark.read.parquet("/tmp/writertest/input").repartition(1).write.mode("overwrite").parquet("/tmp/writertest/output3") ``` ### Expected behavior Should write only once ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
