You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Allan Yang (JIRA)" <ji...@apache.org> on 2019/03/08 03:51:00 UTC
[jira] [Updated] (HBASE-22011) ThriftUtilities.getFromThrift should
set filter when not set columns
[ https://issues.apache.org/jira/browse/HBASE-22011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allan Yang updated HBASE-22011:
-------------------------------
Affects Version/s: 2.2.0
> ThriftUtilities.getFromThrift should set filter when not set columns
> --------------------------------------------------------------------
>
> Key: HBASE-22011
> URL: https://issues.apache.org/jira/browse/HBASE-22011
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Bing Xiao
> Priority: Major
> Fix For: 2.2.1
>
>
> ThriftUtilities.getFromThrift, if TGet wihtout columns the filter is ignore.
> {code:java}
> if (!in.isSetColumns()) {
> return out;
> }
> for (TColumn column : in.getColumns()) {
> if (column.isSetQualifier()) {
> out.addColumn(column.getFamily(), column.getQualifier());
> } else {
> out.addFamily(column.getFamily());
> }
> }
> if (in.isSetFilterBytes()) {
> out.setFilter(filterFromThrift(in.getFilterBytes()));
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)