Skip to content

add unit test coverage for ScanSourceOpDesc #7369

Description

@eugenegujing

Task Summary

common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/scan/ScanSourceOpDesc.scala is the abstract base descriptor shared by the six file-scan source operators (CSV, parallel CSV, old CSV, JSONL, Arrow, file scan). It holds the file, encoding, limit and offset properties, builds each operator's display name and description, and implements setResolvedFileName, fileResolved() and an equals override.

It has no spec, and no test imports the class; the only test-tree mention is a comment in LogicalPlanSpec. The base-class behaviors (the operatorInfo naming branches, the equals override, fileResolved(), setResolvedFileName) are unasserted apart from two display-name strings pinned incidentally in subclass specs.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions