Skip to content

Commit 73333b1

Browse files
authored
Fixing Iceberg documentation code comments (#10163)
* Fix Documentation comments * Fix doc comments
1 parent 70c2dc2 commit 73333b1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dataflow/snippets/src/main/java/com/example/dataflow/ApacheIcebergCdcRead.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242

4343
/**
4444
* A streaming pipeline that reads CDC events from an Iceberg table, aggregates user clicks, and
45-
* writes the results to another Iceberg table.
45+
* writes the results to another Iceberg table. For more information on BigLake,
46+
* see the documentation at https://cloud.google.com/bigquery/docs/blms-rest-catalog.
4647
*
4748
* <p>This pipeline can be used to process the output of {@link
4849
* ApacheIcebergRestCatalogStreamingWrite}.
@@ -93,6 +94,8 @@ public interface Options extends GcpOptions {
9394
public static void main(String[] args) throws IOException {
9495
Options options = PipelineOptionsFactory.fromArgs(args).withValidation().as(Options.class);
9596

97+
// Note: The token expires in 1 hour. Users may need to re-run the pipeline.
98+
// Future updates to Iceberg and the BigLake Metastore will support token refreshing.
9699
Map<String, String> catalogProps =
97100
ImmutableMap.<String, String>builder()
98101
.put("type", "rest")

dataflow/snippets/src/main/java/com/example/dataflow/ApacheIcebergRestCatalogStreamingWrite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
* A streaming pipeline that writes data to an Iceberg table using the REST catalog.
4242
*
4343
* <p>This example demonstrates writing to an Iceberg table backed by the BigLake Metastore. For
44-
* more information, see the documentation at
45-
* https://cloud.google.com/bigquery/docs/iceberg-biglake-metastore.
44+
* more information on BigLake, see the documentation at
45+
* https://cloud.google.com/bigquery/docs/blms-rest-catalog.
4646
*/
4747
public class ApacheIcebergRestCatalogStreamingWrite {
4848

0 commit comments

Comments
 (0)