You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Hisoka-X (via GitHub)" <gi...@apache.org> on 2024/08/30 12:24:00 UTC

[I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Hisoka-X opened a new issue, #7535:
URL: https://github.com/apache/seatunnel/issues/7535

   ### Search before asking
   
   - [X] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
   
   
   ### Description
   
   We had supported default value with el expression feature in [sink-options-placeholders](https://seatunnel.apache.org/docs/concept/sink-options-placeholders).
   We should support default value with el expression in all config place too. Including `env`, `source`, `transform`, `sink`.
   It's a sub feature of [config-variable-substitution](https://seatunnel.apache.org/docs/concept/config#config-variable-substitution). So the el expression with default value will be replaced with user configure value when use shell script with `-i`.
   
   PS:
   we should replace all variables's default value (which not be replaced by `-i`) in `TableFactoryContext` constructor so that our web also can use default value feature. Please refer https://github.com/apache/seatunnel/blob/025fa3bb880f0ac25bff764b51ec7c9e15b489ca/seatunnel-api/src/main/java/org/apache/seatunnel/api/table/factory/TableSinkFactoryContext.java#L45
   
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### 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@seatunnel.apache.org.apache.org

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


Re: [I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Posted by "hailin0 (via GitHub)" <gi...@apache.org>.
hailin0 closed issue #7535: [Feature][Core] Support config variable substitution with default value
URL: https://github.com/apache/seatunnel/issues/7535


-- 
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@seatunnel.apache.org

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


Re: [I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on issue #7535:
URL: https://github.com/apache/seatunnel/issues/7535#issuecomment-2322791221

   I added a flow diagram cc @zhangshenghang @arshadmohammad 


-- 
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@seatunnel.apache.org

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


Re: [I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Posted by "arshadmohammad (via GitHub)" <gi...@apache.org>.
arshadmohammad commented on issue #7535:
URL: https://github.com/apache/seatunnel/issues/7535#issuecomment-2322806347

   Design and approach looks good to me.


-- 
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@seatunnel.apache.org

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


Re: [I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang commented on issue #7535:
URL: https://github.com/apache/seatunnel/issues/7535#issuecomment-2322795433

   > I added a flow diagram cc @zhangshenghang @arshadmohammad
   
   @Hisoka-X I have a general understanding of the overall idea. thks
   
   


-- 
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@seatunnel.apache.org

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


Re: [I] [Feature][Core] Support config variable substitution with default value [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang commented on issue #7535:
URL: https://github.com/apache/seatunnel/issues/7535#issuecomment-2321329048

   Can be assigned to me ,thks


-- 
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@seatunnel.apache.org

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