texera icon indicating copy to clipboard operation
texera copied to clipboard

Show SchemaPropagation error early during editing time as Messages

Open Yicong-Huang opened this issue 3 years ago • 2 comments

This PR fixes several issues with SchemaPopagation, enabling early feedback to the user during editing a workflow.

SchemaPopagation is used in two places:

  1. When the user changes operator properties, editing links, schema propagation would be triggered.
  2. When the user executes the workflow, schema propagation would be triggered during workflow compilation.

Previously, errors during Schema Propagation are surpassed and result in an empty schema, and users will receive runtime errors when the schema is incomplete only during the 2nd scenario, which is during the workflow compilation.

This PR

  1. Does not surpass exceptions during Schema Propagation, instead, we format it to better show to the frontend users.
  2. Moves such runtime error to the earlier editing phase, which is the 1st scenario. User will receive a Message to indicate something goes wrong with the schema propagation while editing the workflow, and will be able to interactively fix it before submit the problematic workflow for execution.

2021-07-30 01 55 03

Yicong-Huang avatar Jul 30 '21 19:07 Yicong-Huang

Discussion 1/11: Zuozhi will work with Yicong to merge this to master

Xiao-zhen-Liu avatar Jan 11 '22 21:01 Xiao-zhen-Liu

Discussion 2022.05.12: Yicong & Zuozhi said again they will work on it.

Xiao-zhen-Liu avatar May 12 '22 19:05 Xiao-zhen-Liu

Discussion 2022.12.07: We will close this.

Xiao-zhen-Liu avatar Dec 07 '22 23:12 Xiao-zhen-Liu