Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
wxyn opened this issue Jul 7, 2023 · 1 comment
Labels

Comments

@wxyn
Copy link
Contributor

wxyn commented Jul 7, 2023

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!
@wxyn wxyn added the enhancement New feature or request label Jul 7, 2023
@zqburde
Copy link
Contributor

zqburde commented Aug 9, 2023

Add it in DSS1.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants