Skip to content

[BUG] SQLTask replace the ${} of the SQL statement to "?" does not work #2739

@zixi0825

Description

@zixi0825

Describe the bug
In the SqlTask
the function ParameterUtils.replaceScheduleTime(sql, taskExecutionContext.getScheduleTime(), paramsMap) replaces all $ {} to real value, so the function setSqlParamsMap(sql, rgex, sqlParamsMap, paramsMap); does not work

Screenshots
image

Which version of Dolphin Scheduler:
-[dev-1.3.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions