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

ORC-1349: [C++] remove useless bufStream definition #1360

Closed
wants to merge 1 commit into from

Conversation

zhjwpku
Copy link
Contributor

@zhjwpku zhjwpku commented Jan 9, 2023

What changes were proposed in this pull request?

In TestByteRLEEncoder.cc, bufStream was defined but not used, so remove those useless definitions.

Why are the changes needed?

the definitions are useless.

How was this patch tested?

It doesn't introduce new features and passed all test cases.

In `TestByteRLEEncoder.cc`, bufStream was defined but not used, so
remove those useless definitions.

Signed-off-by: Junwang Zhao <zhjwpku@gmail.com>
@github-actions github-actions bot added the CPP label Jan 9, 2023
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Are these all unused instances in TestByteRLEEncoder.cc file?

@zhjwpku
Copy link
Contributor Author

zhjwpku commented Jan 9, 2023

Are these all unused instances in TestByteRLEEncoder.cc file?

Yes, all unused. The unique_ptr outStream created with same arguments is used instead.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you for the confirmation.

@dongjoon-hyun
Copy link
Member

Merged to main for Apache ORC 1.9.0

@dongjoon-hyun dongjoon-hyun added this to the 1.9.0 milestone Jan 9, 2023
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

In `TestByteRLEEncoder.cc`, bufStream was defined but not used, so remove those useless definitions.

### Why are the changes needed?

the definitions are useless.

### How was this patch tested?

It doesn't introduce new features and passed all test cases.

Closes apache#1360 from zhjwpku/remove_useless_bufstream.

Authored-by: Junwang Zhao <zhjwpku@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants