bq. column "q" is row_key, I don't know what you meant. row key should be row, the parameter.
If you want to add other columns, just call AddColumn() for those columns. On Mon, Sep 18, 2017 at 10:42 AM, Andrzej <[email protected]> wrote: > I simple-client.cc is: > for (uint64_t i = 0; i < num_puts; i++) > table->Put(*MakePut(Row(FLAGS_row, i))); > where > std::unique_ptr<Put> MakePut(const std::string &row) { > auto put = std::make_unique<Put>(row); > put->AddColumn("f", "q", row); > return std::move(put); > } > > But there are two problems: > 1. In above example column "q" is row_key, but if I want add other column > than row, I don't know on which row will be added. > 2.How efficient add many columns? > > In general case , how add : > row_key, column1, column2...column 10 > >
