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

[I] [Feature Request]: Add Sequence - to accept a start value from a pipeline. (hop)

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

   ### What would you like to happen?
   
   Currently Add sequence allows for a database generated sequence or pipeline counter. Not all databases support sequences, to keep code compatible with all databases one would want to use the pipeline counter. 
   Currently the start value can be hard coded or can be populated from a parameter/variable. 
   I would like to populate the start value that I pass in from a preceding select max() query to get the next sequence.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

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

   I think I prefer Hans' option to simply read the start value from another 'info' transform.  That way you can do it all in one pipeline as requested and it would also be clear that some information is provided.


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

Posted by "bamaer (via GitHub)" <gi...@apache.org>.
bamaer closed issue #5193: [Feature Request]: Add Sequence - accept a start value from a pipeline field
URL: https://github.com/apache/hop/issues/5193


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

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

   This would come from the same stream as you would query the table to get the max value to set the beginning sequence number.


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

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

   Even with what we currently have, you could (ab)use the new variable system to fetch that value on startup.
   It would still require a second pipeline, but less overall logic on the workflow


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

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

   Do you see this as a side input, or would it come from the same stream as your data?
   


-- 
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] [Feature Request]: Add Sequence - accept a start value from a pipeline field (hop)

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

   Accept a single row with start, end, and increment values. More than one rows: throw an error.
   Add 4 options: transform to accept the sequence configuration values from, the start, end, increment fields to 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: issues-unsubscribe@hop.apache.org

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