Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Issue when comparing BooleanArray with scalar using lt_eq_scalar #719

Closed
yjshen opened this issue Dec 28, 2021 · 0 comments · Fixed by #721
Closed

Issue when comparing BooleanArray with scalar using lt_eq_scalar #719

yjshen opened this issue Dec 28, 2021 · 0 comments · Fixed by #721
Labels
bug Something isn't working no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog

Comments

@yjshen
Copy link
Contributor

yjshen commented Dec 28, 2021

To reproduce:

    #[test]
    fn test_lt_eq_scalar_true() {
        cmp_bool_scalar!(lt_eq_scalar,
            &[false, true, true, true, true, true, true, true, false],
            true,
            &[true, true, true, true, true, true, true, true, true]
        );
    }
thread 'compute::comparison::boolean::tests::test_lt_eq_scalar_true' panicked at 'assertion failed: `(left == right)`
  left: `BooleanArray { data_type: Boolean, values: [0b11111111, 0b_______1], validity: None }`,
 right: `BooleanArray { data_type: Boolean, values: [0b11111111, 0b_______0], validity: None }`', src/compute/comparison/boolean.rs:230:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@jorgecarleitao jorgecarleitao added the bug Something isn't working label Dec 28, 2021
@jorgecarleitao jorgecarleitao added the no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog label Dec 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants