Skip to content

[Bug] [Process definition] sqoop component issues #7103

@mchcz

Description

@mchcz

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

1.sqoop component custom parameters have no checks and can add multiple empty parameters, resulting in an exception when the workflow is selected by dependent components.
2. If you add a sqoop component to a workflow and add multiple custom parameters at the same time, saving will result in data loss for the entire workflow.

What you expected to happen

The sqoop component needs to enforce the parameter name required, and the workflow can be saved normally without losing data.

How to reproduce

  1. Create a workflow, add a component, such as SQL components or SHELL components can be saved, open normal.
  2. Continue to add sqoop components, but do not add custom parameters, save, open normal.
  3. Add multiple empty parameters to the sqoop component, save, open and discover that everything is gone.

Anything else

No response

Version

2.0.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Waiting for replyWaiting for replybugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions