Joiner plugin fails to generate schema if incoming nodes have '&'

Description

  • Import the attached pipeline

  • Open the TX joiner plugin

  • Rename the plugin label to be TX & something

  • Open TX and Store plugin and generate schema

After the last step UI shows an error.  Once the `&` in the joiner plugin is removed things work fine.

Release Notes

None

Attachments

1

Activity

Show:

Ajai Narayanan May 1, 2019 at 8:51 PM

As a temporary solution have added an error message that we show in UI when input stages have &, . or = in their names. https://github.com/cdapio/cdap/pull/11316

Albert Shau May 1, 2019 at 5:12 PM

A similar issue will happen if '=' is in the stage name.

The most complete fix would be to change the plugin to have a non-ambiguous way to take the same information in, such as through a stringified json object. But then both backend and frontend would have to support both formats.

A shorter term hacky fix would be for the UI to check for special characters that the joiner does not support and error out, asking the user to rename those stages.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created February 27, 2019 at 1:46 AM
Updated May 23, 2019 at 2:27 AM
Resolved May 3, 2019 at 12:21 AM