You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "davidzollo (via GitHub)" <gi...@apache.org> on 2024/04/16 10:49:49 UTC

[I] [Improvement][Task] supporting parameter replacement in SeaTunnel task type [dolphinscheduler]

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

   ### 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
   
   As you can see, there is a simple SeaTunnel task config, like this
   ```
   env {
     parallelism =4
     job.mode = "BATCH"
   }
   source {
     Jdbc {
       url ="jdbc:mysql://localhost/test?serverTimezone=GMT%2b8"
       driver ="com.mysql.cj.jdbc.Driver"connection check timeout sec = 100
       user ="root"
       password ="123456"
       table path = "testdb.table1"
       guery ="select * from ${tableName}'
       split.size = 10000
     }
   }
   sink {
   Console {}
   }
   ```
   
   Some users want to replace the param `${tableName}` to the actual value when task runs 
   <img width="588" alt="image" src="https://github.com/apache/dolphinscheduler/assets/15833811/a522bfc8-9bfd-4871-8988-95cde0f68253">
   
   
   
   
   
   ### Are you willing to submit a PR?
   
   - [ ] 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


Re: [I] [Improvement][Task] supporting parameter replacement in SeaTunnel task type [dolphinscheduler]

Posted by "ruanwenjun (via GitHub)" <gi...@apache.org>.
ruanwenjun closed issue #15859: [Improvement][Task] supporting parameter replacement in SeaTunnel task type
URL: https://github.com/apache/dolphinscheduler/issues/15859


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


Re: [I] [Improvement][Task] supporting parameter replacement in SeaTunnel task type [dolphinscheduler]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #15859:
URL: https://github.com/apache/dolphinscheduler/issues/15859#issuecomment-2058814742

   It's better to support parameters passed from upstream tasks, such as shell task.
   
   you can refer the doc, https://dolphinscheduler.apache.org/en-us/docs/3.2.1/guide/parameter/context


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


Re: [I] [Improvement][Task] supporting parameter replacement in SeaTunnel task type [dolphinscheduler]

Posted by "ruanwenjun (via GitHub)" <gi...@apache.org>.
ruanwenjun commented on issue #15859:
URL: https://github.com/apache/dolphinscheduler/issues/15859#issuecomment-2058817005

   This should already supported.


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