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

Use conf.useCompression config to decide if we should be compressing the cache [databricks] #4989

Merged
merged 4 commits into from
Mar 23, 2022

Conversation

razajafri
Copy link
Collaborator

This PR makes PCBS to honor the conf.useCompression to decide if cache should be compressed using SNAPPY

Signed-off-by: Raza Jafri rjafri@nvidia.com

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@jlowe jlowe added this to the Mar 21 - Apr 1 milestone Mar 21, 2022
@jlowe
Copy link
Member

jlowe commented Mar 21, 2022

Has this been tested? I think the default compression type will also encode Snappy, so I wouldn't be surprised if this change had no effect as written.

@razajafri
Copy link
Collaborator Author

Has this been tested? I think the default compression type will also encode Snappy, so I wouldn't be surprised if this change had no effect as written.

I tested this by println to make sure I was hitting the right code path in each case. I can possibly write a scala testcase

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri razajafri marked this pull request as draft March 22, 2022 15:14
@razajafri
Copy link
Collaborator Author

I found a problem with cudf and created an issue for it in that repo here

Converting this PR to draft until that bug is fixed

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri razajafri marked this pull request as ready for review March 22, 2022 21:43
@razajafri razajafri changed the title Use conf.useCompression config to decide if we should be compressing the cache Use conf.useCompression config to decide if we should be compressing the cache [databricks] Mar 22, 2022
@razajafri
Copy link
Collaborator Author

build

@sameerz sameerz added the task Work required that improves the product but is not user facing label Mar 22, 2022
@razajafri
Copy link
Collaborator Author

@jlowe do you have any more concerns?

@razajafri razajafri merged commit ec2bf9d into NVIDIA:branch-22.04 Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants