Skip to content

Add unit tests for SleepOpDesc, IntersectOpDesc, URLFetcherOpDesc #4814

@Yicong-Huang

Description

@Yicong-Huang

Task Summary

Three logical-operator descriptors under common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/ have no dedicated specs:

  • sleep/SleepOpDesc — Sleep operator (control group, non-parallelizable, suggestedWorkerNum=1).
  • intersect/IntersectOpDesc — Intersect operator (set group, two HashPartition-required inputs, blocking output).
  • source/fetcher/URLFetcherOpDesc — URL fetcher (api group, decoding-method-conditional sourceSchema, source physical op).

Add unit tests covering operatorInfo (name, group, port counts), getPhysicalOp (class name, port wiring, partition requirements, parallelization flags) and the decoding-method branch of URLFetcherOpDesc.sourceSchema.

Task Type

  • Testing / QA

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions