Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

PARQUET-501: Add OutputStream abstract interface, refactor encoding code paths#46

Closed
wesm wants to merge 1 commit intoapache:masterfrom
wesm:PARQUET-501
Closed

PARQUET-501: Add OutputStream abstract interface, refactor encoding code paths#46
wesm wants to merge 1 commit intoapache:masterfrom
wesm:PARQUET-501

Conversation

@wesm
Copy link
Copy Markdown
Member

@wesm wesm commented Feb 10, 2016

I also did a bit of tidying / reorganization and giving interfaces more descriptive names.

@majetideepak
Copy link
Copy Markdown

This will be some conflict with #30.

const vector<T>& right) {
ASSERT_EQ(left.size(), right.size());

for (size_t i = 0; i < left.size(); ++i) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What does this shift do?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It prints i on assertion failure

@wesm
Copy link
Copy Markdown
Member Author

wesm commented Feb 11, 2016

I squashed these commits to simplify cherry-picking because #47 depends on this patch.

…ream

  implementation for testing.
* Refactor to use OutputStream on data encoding paths, reduce some code
  duplication in column-reader-test.
* Collect all input/output classes into util/input.* and util/output.*.
* Use int64_t in InputStream::Peek/Read.
@wesm
Copy link
Copy Markdown
Member Author

wesm commented Feb 11, 2016

Rebased. @asandryh and @majetideepak let me know any other comments

@julienledem
Copy link
Copy Markdown
Member

+1 LGTM

@asfgit asfgit closed this in c11e7d4 Feb 11, 2016
@wesm wesm deleted the PARQUET-501 branch February 11, 2016 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants