aglinxinyuan opened a new pull request, #9459:
URL: https://github.com/apache/texera/pull/9459

   ### What changes were proposed in this PR?
   
   Remove `parseOperators` and `validateExportRequest` from Amber's 
result-export service. Their only callers are five tests dedicated to those 
helpers. The live export endpoints already call the service directly.
   
   Build the dataset export response once, use the filenames supplied by the 
local export methods, and remove the Parquet catch that rethrows the same 
exception. Export responses, filenames, missing-result errors, and input-stream 
cleanup are preserved. **+14/−95 lines** across the service and its spec.
   
   | History | Request helpers |
   | --- | --- |
   | Introduced by | #3728 on October 10, 2025 |
   | Production callers | None since introduction. #6705 added the dedicated 
tests. |
   
   ### Any related issues, documentation, discussions?
   
   Closes #9458.
   
   ### How was this PR tested?
   
   All 55 retained `ResultExportServiceSpec` cases passed. The suite used 
embedded PostgreSQL, a local Hadoop Iceberg catalog, and a loopback mock upload 
endpoint. The existing tests cover local and dataset exports, mixed outcomes, 
and missing results.
   
   ```powershell
   $env:STORAGE_ICEBERG_CATALOG_TYPE = 'hadoop'
   $env:FILE_SERVICE_UPLOAD_ONE_FILE_TO_DATASET_ENDPOINT = 
'http://127.0.0.1:39214/api/dataset/did/upload'
   sbt --batch 'WorkflowExecutionService/testOnly 
org.apache.texera.web.service.ResultExportServiceSpec' 
'WorkflowExecutionService/scalafmtCheck' 
'WorkflowExecutionService/Test/scalafmtCheck' 
'WorkflowExecutionService/scalafixAll --check'
   ```
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-6)
   


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

Reply via email to