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

fix: set the result block to the decompressed data #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gangliao
Copy link

I mean, this is a bug.

@@ -546,7 +546,7 @@ Status CFileReader::ReadBlock(const IOContext* io_context,
scratch.Swap(&decompressed_scratch);

// Set the result block to our decompressed data.
block = Slice(buf, uncompressed_size);
block = scratch.as_slice();
Copy link
Author

Choose a reason for hiding this comment

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

    buf = scratch.get();
    block = scratch.as_slice();

@acelyc111
Copy link
Member

Hi @gangliao,

Thank you for the pull request. The Kudu project doesn't merge new code through GitHub PRs; we use the gerrit tool to do code review and submission. Could you please follow the directions here to adapt this PR into a gerrit change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants