ahmedabu98 commented on issue #31830:
URL: https://github.com/apache/beam/issues/31830#issuecomment-2413188340
@asheeshgarg just merged ##31495. See this example for how to use (note that
input PCollection elements are Beam Rows)
```python
import apache_beam as beam
with beam.Pipeline() as p:
(p
| beam.Create([beam.Row(...), beam.Row(...)])
| beam.managed.Write(
"iceberg",
config={
"table": "namespace.table",
"catalog_name": "test-catalog",
"catalog_properties": {
"catalog-impl": "org.apache.iceberg.hadoop.HadoopCatalog",
"warehouse": "path/to/warehouse". # local file system and
GCS are supported
}}))
```
--
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]