Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature][Data Studio]add getJobInstanceByTaskName api #3822

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

Open
zhuxt2015 wants to merge 1 commit into DataLinkDC:dev
base: dev
Choose a base branch
Loading
from zhuxt2015:get_job_instance_by_task_name_api

Conversation

Copy link
Contributor

@zhuxt2015 zhuxt2015 commented Sep 21, 2024
edited
Loading

Purpose of the pull request

The job name is unique globally that can use to query the job instance, but the job id is not easy to remember

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

github-actions[bot] reacted with thumbs up emoji github-actions[bot] reacted with rocket emoji

@GetMapping("/getJobInstanceByTaskName")
@ApiOperation("Get Job Instance By Task Id")
@ApiImplicitParam(
Copy link
Contributor

@Zzm0809 Zzm0809 Sep 23, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please modify the parameter description below correctly

select *
from dinky_job_instance
where name = #{taskName}
order by id desc limit 1
Copy link
Contributor

@Zzm0809 Zzm0809 Sep 23, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is your need to get the latest task execution instance? Or do you just need to get any one?

Copy link
Contributor

Zzm0809 commented Sep 23, 2024

Thank you for your contribution. Please describe the corresponding scenarios for implementing this function. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Zzm0809 Zzm0809 Zzm0809 left review comments

@aiwenmo aiwenmo Awaiting requested review from aiwenmo

@gaoyan1998 gaoyan1998 Awaiting requested review from gaoyan1998

@zackyoungh zackyoungh Awaiting requested review from zackyoungh

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /