anishmehta24 opened a new pull request, #40332:
URL: https://github.com/apache/beam/pull/40332

   `beam.Create(['a']) | beam.LogElements(with_timestamp=True)` fails with 
`OverflowError: date value out of range`, because MIN_TIMESTAMP (and the global 
window bounds for `with_window=True`) can't be formatted as RFC 3339. Same 
crash as #27036.
   
   `format_timestamp` now falls back to `str(timestamp)` for those values. 
Added a test; `util_test.py` passes.
   
   Written with help from Claude.
   
   ------------------------
   
    - [x] Mention the appropriate issue in your description (for example: 
`addresses #123`), if applicable. This will automatically add a link to the 
pull request in the issue. If you would like the issue to automatically close 
on merging the pull request, comment `fixes #<ISSUE NUMBER>` instead.
    - [ ] Update `CHANGES.md` with noteworthy changes.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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