Hi, Steven, The function ibis::part::hasRIDs is badly named. It is meant to determine if there is an explicit RID column for the data partition. It is absolutely fine for a data partition to not have an explicit RID column, the implicit values of [0, 1, 2, ...] will be used. This is what happens when you ask for RIDs through getRIDs. The same assumption is also used in answering queries. So if you simply ignore what ibis::part::hadRIDs return to you and go ahead ask the query object to evaluate itself, you should get the right answers.
Let us know if the answers are not what you've expected. Good luck. John PS: I am changing hasRIDs to explicitRIDs. It appears to be one of those functions not actually used in FastBit itself.. On 8/21/13 2:26 PM, Enns, Steven wrote: > Hi John, > > I'm looking to sample rows in ibis::part. The best way that I can > think to do so is to call ibis::part::getRIDs(), sample the RIDs, then > call ibis::query::setRIDs() to filter the rows. > > The problem is that ibis::part::hasRIDs() is false, despite readOnly > being false and <tableName>.fillRIDs=T in my ~/.ibisrc file. > > Is there some way to write the rids when creating the table? > > Thanks, > Steve > > > _______________________________________________ > 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
