[ 
https://issues.apache.org/jira/browse/ACCUMULO-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876505#comment-13876505
 ] 

Billie Rinaldi commented on ACCUMULO-1661:
------------------------------------------

No, fetching "" would mean fetching all key/value pairs that have an empty 
column family -- there is one family in the set of families that is being 
fetched.

> AccumuloInputFormat cannot fetch empty column family
> ----------------------------------------------------
>
>                 Key: ACCUMULO-1661
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1661
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.3, 1.5.0
>            Reporter: Billie Rinaldi
>             Fix For: 1.5.1, 1.6.0
>
>
> The following fails:
> {code:java}
> Job job = new Job();
> HashSet<Pair<Text,Text>> cols = new HashSet<Pair<Text,Text>>();
> cols.add(new Pair<Text,Text>(new Text(""), null));
> AccumuloInputFormat.fetchColumns(job, cols);
> Set<Pair<Text,Text>> setCols = AccumuloInputFormat.getFetchedColumns(job);
> assertEquals(cols.size(), setCols.size());
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to