Skip to content

[Bug] [monitor] task-state-count  #7527

@zhanqian-1993

Description

@zhanqian-1993

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

when call the interface "dolphinscheduler/projects/analysis/task-state-count" for statistic function, if you just filter with param "startDate". It doesn't work. The result is the same with without any filter params.
for example, the result "/dolphinscheduler/projects/analysis/task-state-count?projectCode=123&startDate=2021-12-16%2000:00:00&endDate=" is same with "/dolphinscheduler/projects/analysis/task-state-count?projectCode=123"

What you expected to happen

I think that the param "startDate" should work.

How to reproduce

call the interface "dolphinscheduler/projects/analysis/task-state-count" without param "endDate" or putting param "endDate" empty

Anything else

No response

Version

2.0.1

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for replyWaiting for replybugSomething isn't workingrelease cherry-pickMark this issue/PR had cherry-pick for release version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions