[ 
https://issues.apache.org/jira/browse/HBASE-15432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuesen Liang updated HBASE-15432:
---------------------------------
    Comment: was deleted

(was: How about to reuse 'SCAN_COLUMN_FAMILY'?

For example, the following code in 
org.apache.hadoop.hbase.mapreduce.TableInputFormat

{code}
if (conf.get(SCAN_COLUMN_FAMILY) != null) {
  scan.addFamily(Bytes.toBytes(conf.get(SCAN_COLUMN_FAMILY)));
}
{code}

can be replaced by

{code}
for (String cf : conf.getTrimmedStrings(SCAN_COLUMN_FAMILY)) {
  scan.addFamily(Bytes.toBytes(cf));
}
{code}

It is totally compatible.
)

> TableInputFormat - support multiple column families scan
> --------------------------------------------------------
>
>                 Key: HBASE-15432
>                 URL: https://issues.apache.org/jira/browse/HBASE-15432
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 2.0.0, 0.98.16, 0.98.16.1
>            Reporter: nirav patel
>
> Currently Hbase TableInputFormat class has SCAN_COLUMN_FAMILY and 
> SCAN_COLUMNS. SCAN_COLUMN_FAMILY can only scan single column family. If we 
> need to scan multiple column families from a table then we must use 
> SCAN_COLUMNS where we must provide both columns and column families which is 
> not a convenient. Can we have a SCAN_COLUMN_FAMILIES which supports scan of 
> multiple column families.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to