Hi,

I just write a demo for the RemoteHTable and noticed the
Scan.addColumn(family, qualifier) not being used. In the ScannerModel
it does this:

    byte[][] families = scan.getFamilies();
    if (families != null) {
      for (byte[] column: families) {
        model.addColumn(column);
      }
    }

where addColumn expects

  /**
   * Add a column to the column set
   * @param column the column name, as <column>(:<qualifier>)?
   */
  public void addColumn(byte[] column) {
    columns.add(column);
  }

The code inserts just the column qualifier though, not both. And even
so, why is it not omitting everything then, but includes it all?

Lars

Reply via email to