You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "pietrobaricco (via GitHub)" <gi...@apache.org> on 2025/01/07 15:46:04 UTC

[I] [Bug]: hop-run.sh, passing parameters containing commas is broken (hop)

pietrobaricco opened a new issue, #4765:
URL: https://github.com/apache/hop/issues/4765

   ### Apache Hop version?
   
   2.10
   
   ### Java version?
   
   1.17
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   Running pipelines with the recommended syntax for parameter values containing commas does not work.
   
   /hop-run.sh --project="default" --environment="default" --runconfig="local" --file="/demo/files_download.hpl" --parameters=p1=abc,dossier_ids=\"25,352\"
   
   in the pipeline, dossier_ids has value "25
   
   This used to work in 2.9
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: CLI, Component: Hop Run


-- 
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: issues-unsubscribe@hop.apache.org.apache.org

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


Re: [I] [Bug]: hop-run.sh, passing parameters containing commas is broken (hop)

Posted by "pietrobaricco (via GitHub)" <gi...@apache.org>.
pietrobaricco closed issue #4765: [Bug]: hop-run.sh, passing parameters containing commas is broken
URL: https://github.com/apache/hop/issues/4765


-- 
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: issues-unsubscribe@hop.apache.org

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


Re: [I] [Bug]: hop-run.sh, passing parameters containing commas is broken (hop)

Posted by "pietrobaricco (via GitHub)" <gi...@apache.org>.
pietrobaricco commented on issue #4765:
URL: https://github.com/apache/hop/issues/4765#issuecomment-2577174340

   Thank you both, the workaround saved the day.
   Consider adding it to the docs, as I douldn't find it there


-- 
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: issues-unsubscribe@hop.apache.org

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


Re: [I] [Bug]: hop-run.sh, passing parameters containing commas is broken (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #4765:
URL: https://github.com/apache/hop/issues/4765#issuecomment-2575747500

   confirmed, you can use the `-ps` setting to work around this. When using this setting it might be safer to split your parameters.
   
   `-p dossier_ids=1,3 -p p1=abc -ps=-` setting ps will change the parameter split character so you could also write `-p p1=abc-dossier_ids=25,352` you can also pick another character but be careful with characters that a terminal does not like.


-- 
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: issues-unsubscribe@hop.apache.org

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


Re: [I] [Bug]: hop-run.sh, passing parameters containing commas is broken (hop)

Posted by "bamaer (via GitHub)" <gi...@apache.org>.
bamaer commented on issue #4765:
URL: https://github.com/apache/hop/issues/4765#issuecomment-2575762383

   colon (":") works for `-ps` if you pass multiple parameters, a lot of other characters are tricky, like Hans said. 


-- 
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: issues-unsubscribe@hop.apache.org

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