You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/08/28 13:55:10 UTC

[GitHub] [arrow-nanoarrow] paleolimbot opened a new pull request, #291: fix: Ensure that test for increasing offsets is not affected by overflow

paleolimbot opened a new pull request, #291:
URL: https://github.com/apache/arrow-nanoarrow/pull/291

   Closes #290.
   
   This PR fixes the check for increasing offsets: previously it calculated a diff between pairs of elements and ensured that the value was > 0. This failed for expressions like `int32_t diff = (int32_t)-2147483648 - (int32_t)2080374784`, where because of overflow, `diff` evalutes to `> 0`.


-- 
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@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] codecov-commenter commented on pull request #291: fix: Ensure that test for increasing offsets is not affected by overflow

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #291:
URL: https://github.com/apache/arrow-nanoarrow/pull/291#issuecomment-1695794903

   ## [Codecov](https://app.codecov.io/gh/apache/arrow-nanoarrow/pull/291?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#291](https://app.codecov.io/gh/apache/arrow-nanoarrow/pull/291?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (b009352) into [main](https://app.codecov.io/gh/apache/arrow-nanoarrow/commit/a3f09295ef964b9e7279dc4ddceec7759d972bc9?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (a3f0929) will **increase** coverage by `1.19%`.
   > Report is 1 commits behind head on main.
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff             @@
   ##             main     #291      +/-   ##
   ==========================================
   + Coverage   87.03%   88.23%   +1.19%     
   ==========================================
     Files          66        3      -63     
     Lines       10329      357    -9972     
   ==========================================
   - Hits         8990      315    -8675     
   + Misses       1339       42    -1297     
   ```
   
   
   [see 63 files with indirect coverage changes](https://app.codecov.io/gh/apache/arrow-nanoarrow/pull/291/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
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@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] paleolimbot merged pull request #291: fix: Ensure that test for increasing offsets is not affected by overflow

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot merged PR #291:
URL: https://github.com/apache/arrow-nanoarrow/pull/291


-- 
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@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org