From 2e030c02fccee93d45d44d50e95aea8a744093ba Mon Sep 17 00:00:00 2001 From: Damon Douglas Date: Wed, 4 Dec 2024 16:28:17 -0800 Subject: [PATCH] Move order of write_batch_size --- .github/trigger_files/beam_PostCommit_Python.json | 2 +- sdks/python/apache_beam/io/jdbc.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/trigger_files/beam_PostCommit_Python.json b/.github/trigger_files/beam_PostCommit_Python.json index 2d7af65a3815..00bd9e035648 100644 --- a/.github/trigger_files/beam_PostCommit_Python.json +++ b/.github/trigger_files/beam_PostCommit_Python.json @@ -1,5 +1,5 @@ { "comment": "Modify this file in a trivial way to cause this test suite to run.", - "modification": 5 + "modification": 6 } diff --git a/sdks/python/apache_beam/io/jdbc.py b/sdks/python/apache_beam/io/jdbc.py index 11570680a2f3..a2237ea52354 100644 --- a/sdks/python/apache_beam/io/jdbc.py +++ b/sdks/python/apache_beam/io/jdbc.py @@ -128,11 +128,11 @@ def default_io_expansion_service(classpath=None): ('disable_autocommit', typing.Optional[bool]), ('output_parallelization', typing.Optional[bool]), ('autosharding', typing.Optional[bool]), + ('write_batch_size', typing.Optional[np.int64]), ('partition_column', typing.Optional[str]), ('partitions', typing.Optional[np.int16]), ('max_connections', typing.Optional[np.int16]), - ('driver_jars', typing.Optional[str]), - ('write_batch_size', typing.Optional[np.int64])], + ('driver_jars', typing.Optional[str])], ) DEFAULT_JDBC_CLASSPATH = ['org.postgresql:postgresql:42.2.16']