szehon-ho opened a new pull request, #60417:
URL: https://github.com/apache/spark/pull/60417

   ### What changes were proposed in this pull request?
   
   This PR batches the setup inserts in 
`DataSourceV2EnhancedRuntimePartitionFilterSuite`.
   Loop-driven and repeated literal inserts now use one multi-row `INSERT` per 
fixture. The fixture
   rows, partition values, queries, and assertions are unchanged.
   
   ### Why are the changes needed?
   
   Each setup `INSERT` incurs SQL planning and execution overhead. These 
fixtures test runtime
   partition filtering rather than incremental append behavior, so batching the 
rows reduces the
   changed fixtures from 89 write commands to 18 without reducing test coverage.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   ```
   build/sbt 'sql/testOnly 
org.apache.spark.sql.connector.DataSourceV2EnhancedRuntimePartitionFilterSuite'
   build/sbt 'sql/Test/scalastyle'
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-5)
   


-- 
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]

Reply via email to