You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "JasonLi-cn (via GitHub)" <gi...@apache.org> on 2024/03/01 03:14:13 UTC

[I] [Bug] sort_boolean function unstable [arrow-rs]

JasonLi-cn opened a new issue, #5447:
URL: https://github.com/apache/arrow-rs/issues/5447

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   ### UTest
   https://github.com/apache/arrow-rs/blob/877e870ee0ade1bece5fc4bec1e62e78889f577c/arrow-ord/src/sort.rs#L1481-L1490
   
   ### Rustc
   
   #### nightly-2023-05-15-aarch64-apple-darwin: :x:
   
   ```shell
   thread 'sort::tests::test_sort_boolean' panicked at 'assertion failed: `(left == right)`
     left: `PrimitiveArray<UInt32>
   [
     0,
     5,
     3,
   ]`,
    right: `PrimitiveArray<UInt32>
   [
     0,
     5,
     2,
   ]`',
   ```
   
   #### 1.71.1-aarch64-apple-darwin: :white_check_mark:
   
   
   
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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

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


Re: [I] [Bug] sort_boolean function unstable [arrow-rs]

Posted by "JasonLi-cn (via GitHub)" <gi...@apache.org>.
JasonLi-cn commented on issue #5447:
URL: https://github.com/apache/arrow-rs/issues/5447#issuecomment-1972614212

   > Sorts are unstable as documented
   > 
   > Duplicate of #4545
   
   In order to pass the `cargo test`, is the solution to modify this test case?


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


Re: [I] [Bug] sort_boolean function unstable [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5447:
URL: https://github.com/apache/arrow-rs/issues/5447#issuecomment-1972517998

   Sorts are unstable as documented


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