aglinxinyuan opened a new issue, #9687:
URL: https://github.com/apache/texera/issues/9687

   ### Task Summary
   Several specs in `workflow-core`, `workflow-compiler` and `amber` repeat 
their fixtures case by case:
   
   - `SchemaSpec` and `TupleUtilsSpec` build the same attribute lists, schemas 
and single-field tuples in nearly every case.
   - The Iceberg result-storage specs in `workflow-core` and `amber` each set 
up their own local Hadoop catalog, writer sessions, tuples and port URIs.
   - The S3 and large-binary specs each create their bucket, payloads and 
stream reads by hand.
   - `GlobalPortIdentitySerdeSpec`, `PortIdentityKeyDeserializerSpec` and 
`CoreExecutorReflectionSpec` wrap every failing call in its own `intercept` 
block, and `LogicalLinkSpec` rebuilds the same link and JSON node in each case.
   
   Shared helpers within each spec family can replace these blocks while every 
test keeps its name, inputs and expected values. About 630 lines go away.
   
   ### Task Type
   - [x] Refactor / Cleanup
   


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

  • [I] Share fixtures in core and... aglinxinyuan (via GitHub) via notifications

Reply via email to