tarun-google commented on code in PR #36641:
URL: https://github.com/apache/beam/pull/36641#discussion_r2515452784
##########
sdks/python/apache_beam/yaml/extended_tests/databases/iceberg.yaml:
##########
@@ -60,4 +60,27 @@ pipelines:
- {label: "389a", rank: 2}
options:
project: "apache-beam-testing"
- temp_location: "{TEMP_DIR}"
\ No newline at end of file
+ temp_location: "{TEMP_DIR}"
+
+ - name: read_cdc
+ pipeline:
+ type: chain
+ transforms:
+ - type: ReadFromIcebergCDC
+ config:
+ table: db.labels
+ catalog_name: hadoop_catalog
+ catalog_properties:
+ type: hadoop
+ warehouse: "{TEMP_DIR}"
+ filter: '"label" = ''11a'''
+ keep:
+ - label
+ - rank
+ - type: AssertEqual
+ config:
+ elements:
+ - {label: "11a", rank: 0}
Review Comment:
Added a filter on time_stamp for this decade :)) also added multiple
conditions to get more than one record. Could not do streaming or snapshot
filters in the existing setup, Snapshot is catalog level metadata
--
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]