When a pipeline is imported from cdap 6.0.0 to cdap 6.1.0-SNAPSHOT, newly added plugin properties are not displayed on UI.
For example, when a pipeline with BigQuery Sink is imported from cdap 6.0.0 to cdap 6.1.0-SNAPSHOT, Advanced properties such as Operation, Truncate Table are missing from UI. This causes backend to throw npe because the plugin assumes that default value is always set for optional properties.
There are 2 issues here:
- UI should use latest widget json and set default values for optional properties when possible.
- Plugins should not be assuming default values being set for optional properties.