From c98a630857115fbcabb97fbf0e7882eafdf46d26 Mon Sep 17 00:00:00 2001 From: XQ Hu Date: Tue, 22 Apr 2025 00:56:45 +0000 Subject: [PATCH] fixed jdbc io --- sdks/python/apache_beam/yaml/standard_io.yaml | 4 ++-- sdks/python/setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/yaml/standard_io.yaml b/sdks/python/apache_beam/yaml/standard_io.yaml index 6e4fda9f3e0d..be652a300ef0 100644 --- a/sdks/python/apache_beam/yaml/standard_io.yaml +++ b/sdks/python/apache_beam/yaml/standard_io.yaml @@ -123,7 +123,7 @@ config: gradle_target: 'sdks:java:io:google-cloud-platform:expansion-service:shadowJar' -# TODO(yaml): Tests are assuming python providers are before java ones, hence +# TODO(yaml): Tests are assuming python providers are before java ones, hence # the order below. This should be fixed in the future. # Python Providers @@ -231,7 +231,7 @@ query: 'read_query' table: 'location' partition_column : 'partition_column' - partitions: 'partitions' + num_partitions: 'num_partitions' type: 'jdbc_type' username: 'username' 'WriteToJdbc': diff --git a/sdks/python/setup.py b/sdks/python/setup.py index e1756176093b..165b39918f1b 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -395,6 +395,7 @@ def get_portability_package_data(): 'Sphinx>=7.0.0,<8.0', 'docstring-parser>=0.15,<1.0', 'docutils>=0.18.1', + 'markdown', 'pandas<2.3.0', 'openai', 'virtualenv-clone>=0.5,<1.0',