ruanwenjun commented on issue #15936: URL: https://github.com/apache/dolphinscheduler/issues/15936#issuecomment-2095100633
> > > > Good idea, do you have any designs? > > > > > > > > > 1, the first step in the database to increase param_data_type field default value is VARCHAR 2, the second step to modify the add, modify, query logic 3, the third step is to modify the corresponding loading logic 4, and finally increase the UI and UT > > > > > > The design is too simple, since this is a new feature, please change the issue to [DSIP](https://github.com/apache/dolphinscheduler/issues/14102) 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 `types` in DS project params/workflow params/ startup params, this issue is want to support this, so this is a new feature. 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 `int` and value `tom`? This is unacceptable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
