You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "rohan472000 (via GitHub)" <gi...@apache.org> on 2023/06/21 15:00:54 UTC

[GitHub] [beam] rohan472000 opened a new issue, #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines

rohan472000 opened a new issue, #27201:
URL: https://github.com/apache/beam/issues/27201

   ### What would you like to happen?
   
   I'm using below function:
   
              pipeline_options = PipelineOptions()
              user_options = pipeline_options.view_as(UserOptions) 
              
              def run():     
                   with beam.Pipeline(options=pipeline_options) as p:  
                         //code
   
   Is there a way to dynamically pass the staging bucket location as an argument to the `run()` function or to `beam.Pipeline()`in Apache Beam, allowing for flexibility in specifying the source location of files for subsequent pipelines in Google Cloud Platform (GCP) Dataflow?
   
   As it is possible with java, but not sure if it is possible with Python or not.
   
   
   ### Issue Priority
   
   Priority: 3 (nice-to-have improvement)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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


[GitHub] [beam] tvalentyn commented on issue #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #27201:
URL: https://github.com/apache/beam/issues/27201#issuecomment-1640337963

   Since you are a Dataflow user, see also Flex template +  parameters: https://cloud.google.com/dataflow/docs/guides/templates/using-flex-templates#run-a-flex-template-pipeline


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] tvalentyn commented on issue #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #27201:
URL: https://github.com/apache/beam/issues/27201#issuecomment-1640331274

   In general, better channels to ask questions are: user@beam.apache.org or Stackoverflow.


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] tvalentyn closed issue #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn closed issue #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines
URL: https://github.com/apache/beam/issues/27201


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] tvalentyn commented on issue #27201: [Feature Request]: Dynamic Staging Bucket Argument for Apache Beam Dataflow Pipelines

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #27201:
URL: https://github.com/apache/beam/issues/27201#issuecomment-1640329367

   Would defining a custom command-line option work for you? For example: https://github.com/apache/beam/blob/c490304040a3cf5782bda412a8395dda0fb63554/sdks/python/apache_beam/examples/wordcount.py#L69-L73
   https://github.com/apache/beam/blob/c490304040a3cf5782bda412a8395dda0fb63554/sdks/python/apache_beam/examples/wordcount.py#L90


-- 
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: github-unsubscribe@beam.apache.org

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