-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[DSIP-39][parameter] Startup parameters/global parameters/project parameters support set data type #15936
Comments
Good idea, do you have any designs? |
1, the first step in the database to increase param_data_type field default value is VARCHAR |
The design is too simple, since this is a new feature, please change the issue to DSIP and provide the detail design, then we can discuss the design. Startup parameters/global parameters/task parameters also need to have types, otherwise, this will be very strange and think of as a bug. |
In fact, this is not a new feature, the parameter priority and loading order is not changed, just optimize the type of parameter values, from the default VARCHAR to now custom type |
Right now, we don't support You changed the API interface, this is an incompatible change, but it doesn't announce in the issue/PR. The worst thing that can happen is that the user cp's this PR and the original interface will be unusable. This is why I request a DSIP. In the description and PR, I didn't see there exists a validation step, this means I can create a parameter with the type |
I understand what you mean, in fact, the new data value field, does not affect its original logic, because the default value of the field in the database is VARCHAR, in fact, has done a compatible operation! |
@sdhzwc It's OK for me to support the global params/ start parameters in different PR(it's needed to create sub-issues for this). I see in the PR, this interface |
一、 DESC: At present is my optimization of the function of the operation, with the design of the language I may not be able to express the situation, where insufficient can be listed, I will be improved 二、 EFFECT DISPLAY: @ruanwenjun I've changed it to DSIP and you can see where else it doesn't fit. |
Search before asking
Motivation
Currently startup parameters, global parameters, project parameters do not support custom data value types, the default is VARCHAR data value type, if I want to use the data type is LONG, this time there is no way to carry out the operation, so this optimization point is to give more choice points to the user, to increase the user experience.
Design Detail
一、 DESC:
This PR is for the startup parameter, global parameter, project parameter support custom data value type, to meet our needs for data use, increase user experience. Which I did not modify the logic of the big, just load the data value type to personalize the limited operation, specifically the following points:
二、 EFFECT DISPLAY:
2.1 GIF
2.2 Startup Parameters
2.3 Global Parameters
2.4 Project Parameters
Compatibility, Deprecation, and Migration Plan
Compatibility with latest version.
Test Plan
Test by UT.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: