From d9ac859367c7bae12dcfcd04c35333b487c553d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Kinard Date: Thu, 31 Oct 2024 13:23:50 -0400 Subject: [PATCH 1/3] fix JDBC providers Signed-off-by: Jeffrey Kinard --- sdks/python/apache_beam/yaml/standard_io.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sdks/python/apache_beam/yaml/standard_io.yaml b/sdks/python/apache_beam/yaml/standard_io.yaml index 4de36b3dc9e0..142688dc82fe 100644 --- a/sdks/python/apache_beam/yaml/standard_io.yaml +++ b/sdks/python/apache_beam/yaml/standard_io.yaml @@ -235,21 +235,21 @@ 'WriteToSqlServer': 'WriteToJdbc' defaults: 'ReadFromMySql': - jdbcType: 'mysql' + jdbc_type: 'mysql' 'WriteToMySql': - jdbcType: 'mysql' + jdbc_type: 'mysql' 'ReadFromPostgres': - jdbcType: 'postgres' + jdbc_type: 'postgres' 'WriteToPostgres': - jdbcType: 'postgres' + jdbc_type: 'postgres' 'ReadFromOracle': - jdbcType: 'oracle' + jdbc_type: 'oracle' 'WriteToOracle': - jdbcType: 'oracle' + jdbc_type: 'oracle' 'ReadFromSqlServer': - jdbcType: 'mssql' + jdbc_type: 'mssql' 'WriteToSqlServer': - jdbcType: 'mssql' + jdbc_type: 'mssql' underlying_provider: type: beamJar transforms: From 314f8815144d57f8f3bb1d66ec71b656a92e6822 Mon Sep 17 00:00:00 2001 From: Jeffrey Kinard Date: Fri, 1 Nov 2024 15:27:21 -0400 Subject: [PATCH 2/3] fix test failures Signed-off-by: Jeffrey Kinard --- sdks/python/apache_beam/yaml/tests/map.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/yaml/tests/map.yaml b/sdks/python/apache_beam/yaml/tests/map.yaml index 04f057cb2e82..14eb25eeee5a 100644 --- a/sdks/python/apache_beam/yaml/tests/map.yaml +++ b/sdks/python/apache_beam/yaml/tests/map.yaml @@ -42,6 +42,6 @@ pipelines: - type: AssertEqual config: - elements: + element - {element: 100, named_field: 100, literal_int: 10, literal_float: 1.5, literal_str: "abc"} - {element: 200, named_field: 200, literal_int: 10, literal_float: 1.5, literal_str: "abc"} From f15719c228eff966bbecdc9f79d948816705ed79 Mon Sep 17 00:00:00 2001 From: Jeffrey Kinard Date: Thu, 7 Nov 2024 12:05:07 -0500 Subject: [PATCH 3/3] fix typo Signed-off-by: Jeffrey Kinard --- sdks/python/apache_beam/yaml/tests/map.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/yaml/tests/map.yaml b/sdks/python/apache_beam/yaml/tests/map.yaml index 14eb25eeee5a..04f057cb2e82 100644 --- a/sdks/python/apache_beam/yaml/tests/map.yaml +++ b/sdks/python/apache_beam/yaml/tests/map.yaml @@ -42,6 +42,6 @@ pipelines: - type: AssertEqual config: - element + elements: - {element: 100, named_field: 100, literal_int: 10, literal_float: 1.5, literal_str: "abc"} - {element: 200, named_field: 200, literal_int: 10, literal_float: 1.5, literal_str: "abc"}