Skip to content

ARROW-3613: [Go] fix builder resize#2927

Closed
alexandreyc wants to merge 2 commits intoapache:masterfrom
alexandreyc:master
Closed

ARROW-3613: [Go] fix builder resize#2927
alexandreyc wants to merge 2 commits intoapache:masterfrom
alexandreyc:master

Conversation

@alexandreyc
Copy link
Copy Markdown
Contributor

Hello,

Following the discussion on JIRA here is a patch that fixes the issue with resizing builders.

I think that I would be good that someone who knows the codebase better than I do review this PR.

Alexandre

@alexandreyc
Copy link
Copy Markdown
Contributor Author

Oops, still an issue... Working on it.

@alexandreyc
Copy link
Copy Markdown
Contributor Author

Should be OK now.

@alexandreyc
Copy link
Copy Markdown
Contributor Author

The Ruby build seems to be broken.

@wesm
Copy link
Copy Markdown
Member

wesm commented Nov 9, 2018

Probably a transient thing; I just restarted that build. As long as the Go build passes, once someone reviews the patch and it's approved, it can be merged

Copy link
Copy Markdown
Member

@wesm wesm left a comment

Choose a reason for hiding this comment

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

+1; I was able to read this well enough to see that this behavior is consistent with the docstring. I looked at the C++ implementation and I think that resizing to an absolute size less than the current number of elements in the builder will leave the builders in a bad state. I opened https://issues.apache.org/jira/browse/ARROW-3740 to investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants