Skip to content

add unit test coverage for ResultSchema #4785

@aglinxinyuan

Description

@aglinxinyuan

Task Summary

Add ResultSchemaSpec pinning the canonical column layout of ResultSchema. Schema drift in this file silently breaks downstream readers, so a test pinning the column names and types is valuable:

  • runtimeStatisticsSchema exposes the canonical columns in order
  • runtimeStatisticsSchema pins the type of every column (operatorId STRING; time TIMESTAMP; inputTupleCnt/inputTupleSize/outputTupleCnt/outputTupleSize/dataProcessingTime/controlProcessingTime/idleTime LONG; numWorkers/status INTEGER)
  • consoleMessagesSchema exposes a single STRING message column

Priority

P3 – Low

Task Type

  • Testing / QA

Metadata

Metadata

Assignees

No one assigned

    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