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

Custom compression codecs #3899

Merged
merged 51 commits into from
Dec 28, 2018
Merged

Custom compression codecs #3899

merged 51 commits into from
Dec 28, 2018

Conversation

alesapin
Copy link
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category (leave one):

  • New Feature

Short description (up to few sentences):
Add custom compression codecs.

@alesapin
Copy link
Member Author

alesapin commented Dec 21, 2018

Failed statefull test. There is dangerous bug.

@alesapin alesapin changed the title [DEEP WIP] Custom compression codecs Custom compression codecs Dec 25, 2018
@alesapin
Copy link
Member Author

It's not 100% ready, I still can do some refactoring and optimizations. However I'd be glad to see some review notices.

@alesapin
Copy link
Member Author

00653_verification_monotonic_data_load and 00700_decimal_round broken in master. 00806_alter_update in unbundled mode seems strange.

if (options.count("level"))
level = options["level"].as<int>();

DB::CompressionCodecPtr codec = DB::CompressionCodecFactory::instance().get(method_family, level);
Copy link
Member

Choose a reason for hiding this comment

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

You can also introduce --codec option that will allow to pass stacked codecs.

Copy link
Member Author

Choose a reason for hiding this comment

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

@alexey-milovidov alexey-milovidov merged commit d16447c into master Dec 28, 2018
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.

3 participants