-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-28518 Allow specifying a filter for the REST multiget endpoint … #5852
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
I think we just need to add the SCAN_FILTER field back and give it a deprecation cyclc. I can see that you want to align the FILTER and FILTER_BASE64 name, as a get could also has a filter so name it SCAN_FILTER is a bit strange. WDYT? Thanks. |
That's right. |
944d4c1
to
5b739e6
Compare
I have uploaded a new version, @Apache-HBase . I have also removed the non-binary safe warnings, because I haven't confirmed that they are true. I THINK that UTF-8 escaping would mangle bytes over 0x7F , and using the platform-dependent encoding is not very reassuring either, but I did not actually test. I know that URL encoding itself is 8 bit clean, I'm just not sure if we can easily get those bytes back from Jersey via a String like this. |
5b739e6
to
6478f8f
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@@ -86,6 +86,11 @@ public interface Constants { | |||
String SCAN_LIMIT = "limit"; | |||
String SCAN_FETCH_SIZE = "hbase.rest.scan.fetchsize"; | |||
String FILTER = "filter"; | |||
/** | |||
* @deprecated Since 2.4.18/2.5.9/2.6.0 Use {@link #FILTER} |
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.
Please mention when will we remove it? I think it should be removed in 4.0.0.
…(addendum: add back SCAN_FILTER constant)
6478f8f
to
77f333e
Compare
Done, @Apache9 . |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…(addendum: add back SCAN_FILTER constant) (apache#5852) Signed-off-by: Duo Zhang <zhangduo@apache.org>
apache#111) HBASE-28518 Allow specifying a filter for the REST multiget endpoint (addendum: add back SCAN_FILTER constant) (apache#5852) Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 4a9f6f2) Co-authored-by: Istvan Toth <stoty@apache.org>
…(addendum: revert SCAN_FILTER constant name)