nacz0 commented on code in PR #41840:
URL: https://github.com/apache/beam/pull/41840#discussion_r4775254849


##########
CHANGES.md:
##########
@@ -156,6 +156,7 @@
 ## Bugfixes
 
 * (Python) Fixed `DecimalCoder` silently rounding decimals with more than 28 
significant digits ([#41706](https://github.com/apache/beam/issues/41706)).
+* (Java) Fixed the JDBC read schema transform (`ReadFromJdbc` and 
`ReadFromMySql` in YAML, Managed MySQL) dropping `fetch_size: -2147483648`, the 
value MySQL needs to stream results, allowed `useCursorFetch=true` in 
`connection_properties` for `ReadFromMySql`, and allowed `Integer.MIN_VALUE` in 
`JdbcIO.readWithPartitions()` 
([#26661](https://github.com/apache/beam/issues/26661)).

Review Comment:
   Done — added an entry under `## Breaking Changes` noting that negative 
`fetch_size` values are now rejected at pipeline construction (and that 
`-2147483648` is only accepted for MySQL and generic `ReadFromJdbc` without a 
non-MySQL `jdbc_type`), and updated the `## Bugfixes` entry to match.



##########
CHANGES.md:
##########
@@ -156,6 +156,7 @@
 ## Bugfixes
 
 * (Python) Fixed `DecimalCoder` silently rounding decimals with more than 28 
significant digits ([#41706](https://github.com/apache/beam/issues/41706)).
+* (Java) Fixed the JDBC read schema transform (`ReadFromJdbc` and 
`ReadFromMySql` in YAML, Managed MySQL) dropping `fetch_size: -2147483648`, the 
value MySQL needs to stream results, allowed `useCursorFetch=true` in 
`connection_properties` for `ReadFromMySql`, and allowed `Integer.MIN_VALUE` in 
`JdbcIO.readWithPartitions()` 
([#26661](https://github.com/apache/beam/issues/26661)).

Review Comment:
   Done, added an entry under `## Breaking Changes` noting that negative 
`fetch_size` values are now rejected at pipeline construction (and that 
`-2147483648` is only accepted for MySQL and generic `ReadFromJdbc` without a 
non-MySQL `jdbc_type`), and updated the `## Bugfixes` entry to match.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to