-
Notifications
You must be signed in to change notification settings - Fork 483
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
ORC-1023: Support writing bloom filters in ConvertTool #933
Conversation
It would feel better to update the doc together. https://github.com/apache/orc/blob/main/site/_docs/java-tools.md 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making a PR, @stiga-huang .
+1 for @guiyanakuang 's review comment.
Nice catch! Updated the doc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you for updating.
Hi, @stiga-huang and @guiyanakuang . |
### What changes were proposed in this pull request? This PR adds an option to the java tool ConvertTool to specify which columns it should generate bloom filters. ### Why are the changes needed? While debugging an issue, I need to generate an ORC file with bloom filters using the Java APIs. The ConvertTool is easy to use but it doesn't generate bloom filters. It'd be helpful to add an option for it. ### How was this patch tested? Didn't find any existing tests on ConvertTool. So I manually tested it and verified the bloom filters are generated. (cherry picked from commit 7c45137) Signed-off-by: Dongjoon Hyun <[email protected]>
This is backported to |
What changes were proposed in this pull request?
This PR adds an option to the java tool ConvertTool to specify which columns it should generate bloom filters.
Why are the changes needed?
While debugging an issue, I need to generate an ORC file with bloom filters using the Java APIs. The ConvertTool is easy to use but it doesn't generate bloom filters. It'd be helpful to add an option for it.
How was this patch tested?
Didn't find any existing tests on ConvertTool. So I manually tested it and verified the bloom filters are generated.