File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/main/java/com/example/dataflow Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3737 <maven .compiler.source>11</maven .compiler.source>
3838 <maven .compiler.target>11</maven .compiler.target>
3939 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
40- <apache_beam .version>2.57 .0</apache_beam .version>
40+ <apache_beam .version>2.58 .0</apache_beam .version>
4141 <slf4j .version>2.0.12</slf4j .version>
4242 <parquet .version>1.14.0</parquet .version>
4343 <iceberg .version>1.4.2</iceberg .version>
Original file line number Diff line number Diff line change @@ -66,14 +66,14 @@ public static void main(String[] args) {
6666
6767 // Configure the Iceberg source I/O
6868 Map catalogConfig = ImmutableMap .<String , Object >builder ()
69- .put ("catalog_name" , options .getCatalogName ())
70- .put ("warehouse_location" , options .getWarehouseLocation ())
71- .put ("catalog_type" , CATALOG_TYPE )
69+ .put ("warehouse" , options .getWarehouseLocation ())
70+ .put ("type" , CATALOG_TYPE )
7271 .build ();
7372
7473 ImmutableMap <String , Object > config = ImmutableMap .<String , Object >builder ()
7574 .put ("table" , options .getTableName ())
76- .put ("catalog_config" , catalogConfig )
75+ .put ("catalog_name" , options .getCatalogName ())
76+ .put ("catalog_properties" , catalogConfig )
7777 .build ();
7878
7979 // Build the pipeline.
Original file line number Diff line number Diff line change @@ -74,14 +74,14 @@ public static void main(String[] args) {
7474
7575 // Configure the Iceberg source I/O
7676 Map catalogConfig = ImmutableMap .<String , Object >builder ()
77- .put ("catalog_name" , options .getCatalogName ())
78- .put ("warehouse_location" , options .getWarehouseLocation ())
79- .put ("catalog_type" , CATALOG_TYPE )
77+ .put ("warehouse" , options .getWarehouseLocation ())
78+ .put ("type" , CATALOG_TYPE )
8079 .build ();
8180
8281 ImmutableMap <String , Object > config = ImmutableMap .<String , Object >builder ()
8382 .put ("table" , options .getTableName ())
84- .put ("catalog_config" , catalogConfig )
83+ .put ("catalog_name" , options .getCatalogName ())
84+ .put ("catalog_properties" , catalogConfig )
8585 .build ();
8686
8787 // Build the pipeline.
You can’t perform that action at this time.
0 commit comments