Well, it's a bad idea, except when it isn't.  I think I'm okay with
our api evolving to handle more corner cases.

It's true that it runs the risk of encouraging bad design from new users though.

On Fri, Aug 13, 2010 at 1:07 PM, Gary Dusbabek <gdusba...@gmail.com> wrote:
> Should we close https://issues.apache.org/jira/browse/CASSANDRA-653
> then?  Fetching a count of all rows is just a specific instance of
> fetching the count of a range or rows.
>
> I spoke to a programmer at the summit who was working on this ticket
> mainly as a way of getting familiar with the codebase.  He didn't want
> to submit a patch though, if there was zero chance of it ever being
> committed.
>
> Gary
>
> On Fri, Aug 13, 2010 at 12:52, Jonathan Ellis <jbel...@gmail.com> wrote:
>> because it would work amazingly poorly w/ billions of rows.  it's an
>> antipattern.
>>
>> On Fri, Aug 13, 2010 at 10:50 AM, Mark <static.void....@gmail.com> wrote:
>>> On 8/13/10 10:44 AM, Jonathan Ellis wrote:
>>>>
>>>> not without fetching all of them with get_range_slices
>>>>
>>>> On Fri, Aug 13, 2010 at 10:37 AM, Mark<static.void....@gmail.com>  wrote:
>>>>
>>>>>
>>>>> Is there some way I can count the number of rows in a CF.. CLI, MBean?
>>>>>
>>>>> Gracias
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> Im guessing you would advise against this? Any reason this wouldn't be
>>> exposed via a MBean?
>>>
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of Riptano, the source for professional Cassandra support
>> http://riptano.com
>>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to