Skip to content

[Feature] The JobDesc length of the DataCheck workflow node is 1000, and we want to support it up to 5000 #1059

@wxyn

Description

@wxyn

Search before asking

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

Problem Description

Current users need to configure many nodes to use DataCheck.Check one table per node.It is more troublesome for users.Want to support 5000 length of job.desc content, used to check more tables at the same time.

Description

image

Use case

No response

solutions

The linkis confirmed that 5000 characters could be supported, and the DSS modified the database verification configuration in the background to the maximum character length of 5000.

The library table change statement is as follows:

INSERT INTO dss_workflow_node_ui_validate (validate_type,validate_range,error_msg,error_msg_en,`trigger`) VALUES 
('Regex','^.{1,5000}$','长度在1到5000个字符','The length is between 1 and 5000 characters','blur');

select @vailidate_id:= id from dss_workflow_node_ui_validate where validate_range='^.{1,5000}$' and validate_type='Regex';

select @ui_id =id  from dss_workflow_node_ui where key ='job.desc';
update dss_workflow_node_ui_to_validate set validate_id = @vailidate_id where ui_id = @ui_id;

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions