Hi, Andrew,

If you are using ibis.cpp then you can add "limit 10" to the end of
your query strings.  Please give it a try and see if it is sufficient
for your use case.

There is no function ibis::bitvector class to extract the first few
bits - because the limit operation typically applies to an ordered
output and therefore is not very useful to just take the first 10 bits
(that are 1s).

John


On 9/10/12 5:02 AM, Olson, Andrew wrote:
> Hi John,
> 
> Is there support for SQL like this "select a,b,c from table where a<50 LIMIT 
> 10" ?
> 
> If not, is there a way to return a bitvector that is just the first 10 set 
> bits in some other bitvector?
> 
> Andrew
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to