ahmedabu98 commented on PR #31495:
URL: https://github.com/apache/beam/pull/31495#issuecomment-2163719356

   Successful Dataflow run 
([2024-06-12_11_40_12-3984761114382040860](https://pantheon.corp.google.com/dataflow/jobs/us-central1/2024-06-12_11_40_12-3984761114382040860))
 with the following code:
   ```python
   import logging
   import apache_beam as beam
   from apache_beam.options.pipeline_options import PipelineOptions
   
   _LOGGER = logging.getLogger(__name__)
   _LOGGER.setLevel(logging.INFO)
   
   options = PipelineOptions([
     "--runner=DataflowRunner",
     "--job_name=managed-iceberg-read-demo4",
     "--project=apache-beam-testing",
     "--temp_location=gs://apache-beam-testing-ahmedabualsaud/tmp",
     "--region=us-central1",
     "--sdk_location=sdks/python/dist/apache_beam-2.57.0.dev0.tar.gz",
     
"--sdk_harness_container_image_overrides=.*java.*,gcr.io/apache-beam-testing/beam-sdk/beam_java11_sdk:latest"
   ])
   
   with beam.Pipeline(options=options) as p:
     p | "Managed Read from ICEBERG" >> beam.managed.Read(
       "iceberg",
       config={
         "table": "testRead.table16bc5d47",
         "catalog_config": {
           "catalog_name": "name",
           "catalog_type": "hadoop",
           "warehouse_location": 
"gs://temp-storage-for-end-to-end-tests/IcebergIOIT/testRead/08a68b5b-c973-450e-b6dc-fc552a623b35"
         }}) | "Log rows" >> beam.Map(_LOGGER.info)
   ```


-- 
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