-
Notifications
You must be signed in to change notification settings - Fork 938
Allow custom names for User-Defined Actions #7958
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
base: main
Are you sure you want to change the base?
Conversation
|
c049edd
to
9470fe2
Compare
Nice, so this would close #6991 then? |
4cd8f17
to
a9002db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patch looks good, but I do not think it is necessary to add the job id if the user provides a job name.
It forces the user to think about this when reading job information using scripts or automation and also limits the usability for the user if they want to provide other information or information in different format as part of the job name.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7958 +/- ##
==========================================
+ Coverage 80.06% 82.13% +2.06%
==========================================
Files 190 250 +60
Lines 37181 46299 +9118
Branches 9450 11620 +2170
==========================================
+ Hits 29770 38026 +8256
- Misses 2997 3668 +671
- Partials 4414 4605 +191 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a13d930
to
5cfbba4
Compare
64cceae
to
747ab7f
Compare
Shouldn't the datatype in the API be text since name is for sql identifier which this is not. |
Another reason was that Maybe we should have a limit on the length of job name, possibly a bit shorter than 63, to be safe. Any thoughts? |
91d7787
to
6c33371
Compare
f566149
to
fb66024
Compare
This commit allows custom names for Used-Defined Actions. add_job() and alter_job() accept an additional "job_name" argument to modify the name of User-Defined Action. If "job_name" is not specified, it is names as default.
fb66024
to
423fad7
Compare
This commit allows custom names for Used-Defined Actions.
add_job() and alter_job() accept an additional "job_name" argument to modify the name of User-Defined Action. If "job_name" is not specified, it is names as default.
Closes #6991