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

   ### What changes were proposed in this pull request?
   
   Hoist repeated per-test `val session = spark; import session.implicits._` 
blocks to a single class-level `import testImplicits._` in the remaining 
AutoCDC test suites that still used the per-test pattern.
   
   Suites updated (12 files):
   - `AutoCdcFlowSuite`
   - `AutoCdcOutOfOrderConvergenceSuite`
   - `AutoCdcScd1AuxiliaryTableDurabilitySuite`
   - `AutoCdcScd1AuxiliaryTableSpecSuite`
   - `AutoCdcScd1FullRefreshSuite`
   - `AutoCdcScd1MultiPipelineSuite`
   - `AutoCdcScd1SchemaEvolutionSuite`
   - `AutoCdcScd1SinglePipelineSuite`
   - `AutoCdcScd1TargetTableDurabilitySuite`
   - `AutoCdcScd2AuxiliaryTableSpecSuite`
   - `AutoCdcScd2ColumnEvolutionSuite`
   - `AutoCdcScd2SinglePipelineSuite`
   
   ### Why are the changes needed?
   
   Several AutoCDC suites already use a class-level `import testImplicits._`. 
The remaining suites still repeated the `session.implicits` import in every 
test (or helper), which adds noise without changing behavior.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   ```
   SPARK_LOCAL_IP=127.0.0.1 build/sbt 'pipelines/testOnly *AutoCdc*'
   ```
   
   All 193 AutoCDC tests passed.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Cursor Grok 4.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