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/04/22 08:55:32 UTC

[GitHub] [dolphinscheduler] hiSandog opened a new issue, #9665: [Improvement][python] sql type can not be specified

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   When I deploy sql task through python-gate.
   Sql type will be identified by the regex.
   I think it should be specified by a parameter.
   
   当我通过python gate 上传一个 sql 类型的任务时
   sql 的类型(SELECT / NOT_SELECT) 只能通过正则确定
   应该通过一个参数指定更加直观一点
   
   ### Use case
   
   I can't create table task through python-gate.
   Because the "create table xxx" sql will be identified as "SELECT" type.
   
   当我想弄一个 创建表 的sql任务,它会被认定为 "SELECT" 类型,会导致任务失败,因为 正则表达式 是
    "^(?!(.* |)insert |(.* |)delete |(.* |)drop |(.* |)update |(.* |)alter ).*"
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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] commented on issue #9665: [Improvement][python] sql type can not be specified

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   When I deploy sql task through python-gate.
   Sql type will be identified by the regex.
   I think it should be specified by a parameter.
   
   When I upload a sql type task through python gate
   The type of sql (SELECT / NOT_SELECT) can only be determined by regular
   It should be more intuitive to specify through a parameter
   
   ### Use case
   
   I can't create table task through python-gate.
   Because the "create table xxx" sql will be identified as "SELECT" type.
   
   When I try to make a sql task that creates a table, it will be recognized as "SELECT" type, which will cause the task to fail because the regular expression is
    "^(?!(.* |)insert |(.* |)delete |(.* |)drop |(.* |)update |(.* |)alter ).*"
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9665: [Improvement][python] sql type can not be specified

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

   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://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw) 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] zhongjiajie closed issue #9665: [Improvement][python] sql type can not be specified

Posted by GitBox <gi...@apache.org>.
zhongjiajie closed issue #9665: [Improvement][python] sql type can not be specified
URL: https://github.com/apache/dolphinscheduler/issues/9665


-- 
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