[ https://issues.apache.org/jira/browse/HBASE-22011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allan Yang reassigned HBASE-22011: ---------------------------------- Assignee: Bing Xiao (was: Allan Yang) > 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 > Assignee: Bing Xiao > Priority: Major > Fix For: 2.2.1 > > Attachments: HBASE-22011-branch-2-v1.patch, > HBASE-22011-branch-2.2-v1.patch, HBASE-22011-v1.patch > > > 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)