ahmedabu98 commented on code in PR #41550: URL: https://github.com/apache/beam/pull/41550#discussion_r4762759936
########## CHANGES.md: ########## @@ -128,6 +129,7 @@ [comment]: # "generic breaking changes if not covered in following sections." * (Java) Flink runner: batch pipelines now assign source splits to readers statically by default instead of lazily. Set `--sourceStaticSplitThresholdMb=0` to restore lazy assignment ([#40607](https://github.com/apache/beam/issues/40607)). +* (Java) `SqlTypes.DATETIME` is now `DateTime` with precision 6, so a `LocalDateTime` with digits below a microsecond throws instead of being stored. Use `DateTime.NANOS` for those values ([#41550](https://github.com/apache/beam/pull/41550)). Review Comment: See previous comment ########## sdks/python/apache_beam/transforms/managed_iceberg_it_test.py: ########## @@ -53,7 +54,10 @@ def _create_row(self, num: int): float_=(num + float(num) / 100), arr_=[num, num, num], date_=datetime.date.today() - datetime.timedelta(days=num), - timestamp_=Timestamp(123 * num, 456 * num)) + timestamp_=Timestamp(123 * num, 456 * num), + datetime_=DateTime.from_datetime( Review Comment: Thx for the catch, just triggered the ITs -- 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]
