dsanderbi commented on issue #5787:
URL: https://github.com/apache/hop/issues/5787#issuecomment-3664534985

   > So like a parameter. I like the idea but have mixed feelings about the 
transparency and complexity to implement the parsing algorithm for nested 
variable expressions. Perhaps `#{default-resolver:VARIABLE_NAME:default}` could 
be a simple starting point. You could indicate in the resolver if you want to 
resolve `default` as a variable as well, but I don't know if that makes your 
projects easier or harder to maintain ;-)
   
   Hi @mattcasters,
   
   Thanks for the input yes, this is a viable approach. I implemented it as 
follows:
   
   ```bash
   #{default-resolver:ETL_MODE;default-value:value}
   ```
   Since the value corresponds to a column in the resolver, I need to provide 
both the default value and the variable that should be evaluated.
   
   <img width="792" height="632" alt="Image" 
src="https://github.com/user-attachments/assets/1eabf0b2-e47d-435d-b9da-dbcda744df31";
 />
   
   ---
   Since you have mixed feelings about the feature request, should we close the 
ticket?
   As the current resolver-pipeline shown above is a workaround that i can use.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to