Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRILL-1942-hygiene: #133

Closed
wants to merge 1 commit into from
Closed

DRILL-1942-hygiene: #133

wants to merge 1 commit into from

Conversation

cwestin
Copy link
Contributor

@cwestin cwestin commented Aug 26, 2015

DRILL-1942-hygiene (another preparatory patch):
- add AutoCloseable to some classes
- minor fixes
- formatting

Unit tests pass
Regression suite passed except for some window function queries (this branch needs to get rebased to pick up that code), and the known fragment distribution timeout.

- add AutoCloseable to many classes
- minor fixes
- formatting
if (managedBuffers.allocated[i]) {
((DrillBuf)mbuffers[i]).release();
((DrillBuf) mbuffers[i]).release(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

why not just call release(), it calls release(1) internally ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It saves a function call; seems desirable in tight loops and low-level value vector situations.

@adeneche
Copy link
Contributor

+1 LGTM

adeneche pushed a commit to adeneche/incubator-drill that referenced this pull request Sep 11, 2015
- add AutoCloseable to many classes
- minor fixes
- formatting

this closes apache#133
adeneche pushed a commit to adeneche/incubator-drill that referenced this pull request Sep 11, 2015
- add AutoCloseable to many classes
- minor fixes
- formatting

this closes apache#133
adeneche pushed a commit to adeneche/incubator-drill that referenced this pull request Sep 14, 2015
- add AutoCloseable to many classes
- minor fixes
- formatting

this closes apache#133
@asfgit asfgit closed this in dca98ef Sep 15, 2015
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.

None yet

2 participants