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

[CARBONDATA-3692] Support NoneCompression during loading data. #3623

Closed

Conversation

Pickupolddriver
Copy link

Why is this PR needed?

In some cases, the data need to be uncompressed after loading into Carbondata file.
In the current version, the project does not support loading data without compression.
It could speed up data loading form Flink to OBS by skipping compress and uncompress data.

What changes were proposed in this PR?

Provide a new Compressor as NoneCompressor implements the AbstractCompressor which will actually not compress and uncompress anything.
This compressor can be set by calling
CarbonProperties.getInstance().addProperty(CarbonCommonConstants.COMPRESSOR,"none");

Does this PR introduce any user interface change?

  • No

Is any new testcase added?

  • Yes

Why is this PR needed?

In some cases, the data need to be uncompressed after loading into Carbondata file.
In the current version, the project do not support loading data without compression.

What changes were proposed in this PR?

Provide a new Compressor as NoneCompressor implement the AbstractCompressor.
This compressor can be set by calling
CarbonProperties.getInstance().addProperty(CarbonCommonConstants.COMPRESSOR,"none");

Does this PR introduce any user interface change?
Yes

Is any new testcase added?
Yes
    Why is this PR needed?

    In some cases, the data need to be uncompressed after loading into Carbondata file.
    In the current version, the project do not support loading data without compression.

    What changes were proposed in this PR?

    Provide a new Compressor as NoneCompressor implement the AbstractCompressor.
    This compressor can be set by calling
    CarbonProperties.getInstance().addProperty(CarbonCommonConstants.COMPRESSOR,"none");

    Does this PR introduce any user interface change?
    Yes

    Is any new testcase added?
    Yes
@Pickupolddriver Pickupolddriver changed the title Origin/none compress [CARBONDATA-3692] Support NoneCompression during loading data. Feb 15, 2020
@CarbonDataQA1
Copy link

Can one of the admins verify this patch?

@jackylk
Copy link
Contributor

jackylk commented Feb 16, 2020

please push your changes to original PR

@ajantha-bhat
Copy link
Member

add to whitelist

@ajantha-bhat
Copy link
Member

@Pickupolddriver : push the review comment fixes to #3611 and close this PR

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

4 participants