You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/08/12 00:25:11 UTC

[GitHub] [dolphinscheduler] pinkhello opened a new issue, #11437: [Bug] [Module Name] Bug title

pinkhello opened a new issue, #11437:
URL: https://github.com/apache/dolphinscheduler/issues/11437

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   My python script contains SQL:
   `select JSON_EXTRACT(json_value, CONCAT('$[', id - 1, '].input1') from test`
   The python script SQL generated when ds is replaced
   :
   `select JSON_EXTRACT(json_val, CONCAT(', id - 1, .input1') from test`
   
   ### What you expected to happen
   
   SQL should keep original:
   `select JSON_EXTRACT(json_value, CONCAT('$[', id - 1, '].input1') from test`
   
   ### How to reproduce
   
   - add UT for org.apache.dolphinscheduler.plugin.task.api.parser.ParameterUtilsTest#convertParameterPlaceholders
   `String sql = "select JSON_EXTRACT(json_val, CONCAT('$[', id - 1, '].input1') from test";`
     `String sqlScript = ParameterUtils.convertParameterPlaceholders(sql, params);`
     `Assert.assertEquals("select JSON_EXTRACT(json_val, CONCAT(', id - 1, input1') from test", sqlScript);`
   - run UT
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] closed issue #11437: [Bug] [Task] ParameterUtils#convertParameterPlaceholders replace JSON In SQL error

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11437: [Bug] [Task] ParameterUtils#convertParameterPlaceholders replace JSON In SQL error
URL: https://github.com/apache/dolphinscheduler/issues/11437


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11437: [Bug] [Module Name] Bug title

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11437:
URL: https://github.com/apache/dolphinscheduler/issues/11437#issuecomment-1212615447

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11437: [Bug] [Task] ParameterUtils#convertParameterPlaceholders replace JSON In SQL error

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11437:
URL: https://github.com/apache/dolphinscheduler/issues/11437#issuecomment-1734638357

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11437: [Bug] [Task] ParameterUtils#convertParameterPlaceholders replace JSON In SQL error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11437:
URL: https://github.com/apache/dolphinscheduler/issues/11437#issuecomment-1283180029

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11437: [Bug] [Task] ParameterUtils#convertParameterPlaceholders replace JSON In SQL error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11437:
URL: https://github.com/apache/dolphinscheduler/issues/11437#issuecomment-1243079992

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org