You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/12/03 17:10:20 UTC
[GitHub] [beam] algirdas-k opened a new pull request, #24514: [BEAM-23636] Storage Write API extreme timestamp overflow
algirdas-k opened a new pull request, #24514:
URL: https://github.com/apache/beam/pull/24514
Fix for https://github.com/apache/beam/issues/23636
Writing extreme ( <1677-09-21, >2262-04-12) timestamp values to BigQuery via Storage Write API now fails due to `long overflow` exception, because conversion of timestamp to `micros` is done in `nanos`, overflowing `long` (see detailed analysis in https://github.com/apache/beam/issues/23636), although BigQuery supports such dates ([TIMESTAMP range](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp_type)).
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`).
- [ ] 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).
See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/get-started-contributing/#make-the-reviewers-job-easier).
To check the build health, please visit [https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Go+tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] algirdas-k commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "algirdas-k (via GitHub)" <gi...@apache.org>.
algirdas-k commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1439530669
I see the same result (no overflow) on higher versions of JDK (18, 19) used by us.
Thank you @agrawal-siddharth 🙇
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] yirutang commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "yirutang (via GitHub)" <gi...@apache.org>.
yirutang commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1428419145
@agrawal-siddharth Hi Sid, could you take care of this?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] agrawal-siddharth commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "agrawal-siddharth (via GitHub)" <gi...@apache.org>.
agrawal-siddharth commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1439334727
I verified the code no longer overflows with JDK 19 deployed.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] github-actions[bot] commented on pull request #24514: Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1336204908
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] agrawal-siddharth commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "agrawal-siddharth (via GitHub)" <gi...@apache.org>.
agrawal-siddharth commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1436104640
It appears the fix for this issue was committed to the JDK with the following change:
https://github.com/openjdk/jdk/commit/81d2acee57188a4507c798b46b0bd129dc302fec
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] pabloem commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
pabloem commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1350191065
r: @vachan-shetty @kmjung
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kennknowles commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
kennknowles commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1338087918
run java precommit
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kmjung commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
kmjung commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1350386422
Storage write API issues should go to @yirutang or someone she delegates.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] github-actions[bot] commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1427024014
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] algirdas-k closed pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by "algirdas-k (via GitHub)" <gi...@apache.org>.
algirdas-k closed pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
URL: https://github.com/apache/beam/pull/24514
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] algirdas-k commented on pull request #24514: Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
algirdas-k commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1336244096
PreCommit failures:
- `HadoopFormatIOElasticTest.classMethod` https://github.com/apache/beam/issues/24389
- `:runners:java-fn-execution:test` `ServerFactoryTest`
- `urlFactoryWithPortSupplier FAILED`
- `defaultServerWithPortSupplier FAILED`
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] algirdas-k commented on pull request #24514: Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
algirdas-k commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1336204493
I think this is for @reuvenlax
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] github-actions[bot] commented on pull request #24514: Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1336204104
Assigning reviewers. If you would like to opt out of this review, comment `assign to next reviewer`:
R: @kileys for label java.
R: @pabloem for label io.
Available commands:
- `stop reviewer notifications` - opt out of the automated review tooling
- `remind me after tests pass` - tag the comment author after tests pass
- `waiting on author` - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
The PR bot will only process comments in the main thread (not review comments).
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] algirdas-k commented on pull request #24514: Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
algirdas-k commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1336204735
R: @reuvenlax
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kennknowles commented on pull request #24514: BigQuery Storage Write API extreme timestamp overflow fix
Posted by GitBox <gi...@apache.org>.
kennknowles commented on PR #24514:
URL: https://github.com/apache/beam/pull/24514#issuecomment-1338087830
Seems unrelated tests. I'm working on making sure they don't get pulled in on irrelevant PRs. For now I will rerun it.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org