Skip to content

Conversation

@jorgecarleitao
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 6, 2020

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am having trouble figuring out why this is the expected output. I expected something like

        let expected = FixedSizeBinaryArray::from(vec![vec![0, 1], vec![0, 0]]);

As I read

        mutable.extend(0, 1, 2); // --> pick element 1 (aka vec[0, 1])
        mutable.extend(0, 0, 1); // --> pick element 0 (aka vec[0, 0])

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am sorry, I should have documented the test better. I added a comment to it. Does it became understandable with the comment? The idea is to check that this works with arrays with offsets.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, man, I missed the call to let array = array.slice(1, 2); 👍 thanks @jorgecarleitao

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, man, I missed the call to let array = array.slice(1, 2); 👍 thanks @jorgecarleitao

@github-actions github-actions bot added the needs-rebase A PR that needs to be rebased by the author label Dec 7, 2020
@github-actions github-actions bot removed the needs-rebase A PR that needs to be rebased by the author label Dec 7, 2020
@jorgecarleitao jorgecarleitao deleted the mutable_fixed_binary branch December 14, 2020 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants