There is no reason for ambiguities...
We could add in the api another method call (similar to get_count) :

get_columnNames

Get the columns names present in column_parent within the predicate.

The method is not O(1). It takes all the columns from disk to calculate the answer. The only benefit of the method is that you do not need to pull all their values over Thrift interface to get their names


(just to get the idea...)

In fact column names can really be data in themselves, so there should be a way to retrieve them (without their values). When you have big values, it's a real show stopper to use get_slice, since a lot of unnecessary traffic would be generated...

Forgive me if I am a little insistent, but it's important for us and I'm sure we are not the only ones interested in this feature...

cheers