Skip to content

Commit

Permalink
found bug in creation of column names for fully qualified constructor…
Browse files Browse the repository at this point in the history
…. Need to support Fields with Comparable... Strings
  • Loading branch information
drujensen committed Feb 21, 2009
1 parent 23d6cc7 commit 3ada770
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/java/cascading/hbase/HBaseScheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ public HBaseScheme(Fields keyField, Fields[] valueFields)
this.columnNames = new String[valueFields.length];
for (int i = 0; i < valueFields.length; i++)
{
this.columnNames[i] = (String) valueFields[i].get(0);
for (int j = 0; j < valueFields[i].size(); j++)
{
this.columnNames[i] = (String) valueFields[i].get(j);
}
}

validate();
Expand Down

0 comments on commit 3ada770

Please sign in to comment.