druid-io / pydruid

A Python connector for Druid
Other
505 stars 194 forks source link

Row counter #315

Open nabeelio opened 4 months ago

nabeelio commented 4 months ago

Hi, is it possible for getting the number of rows without having to consume the iterator? With large datasets, it seems a bit inefficient, but not sure if there's a better way to count.