Hi, Andrew,

I have just checked in an update with functions in ibis::table class 
that take ibis::qExpr* as query conditions.  This should simplify the 
two step query processing considerably.  Here is something that might 
work..

ibis::table *genome = ibis::table::create("path-to-genome-data");
ibis::table *s1 = genome->select("feature_id1", "feature_id1 > 0 and 
...");
ibis::array_t<uint32_t> *ids = s1->getColumnAsUInt("feature_id1");
ibis::qDiscreteRange dr("feature_id1", *ids);
ibis::table *feat1 = ibis::table::create("path-to-feat1");
ibis::table *s2 = feat1->select("something, something2", &dr);
delete s2;
delete feat1;
delete ids;
delete s1;
delete genome;

As usual, you will need to wait for the nightly snapshot to be 
generated by the codeforge.lbl.gov web server.  The snapshot will be 
available at <https://codeforge.lbl.gov/snapshots.php?group_id=44>. 
If you want to try this out immediately, let me know I will email you 
a tar ball..

Good luck.

John
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to