Hi, Andreas, We have just checked in a fix for the issue you've reported. Please take a look to see if it works for you.
Thanks. John PS: You should be able to check out the latest content from the SVN repository with the following svn command svn checkout https://codeforge.lbl.gov/anonscm/fastbit Alternatively, you can download the nightly snapshot from <https://codeforge.lbl.gov/snapshots.php?group_id=44>, which should be generated daily in the early morning hours at Pacific Time Zone in the US. On 4/16/2010 7:32 AM, Andreas Streichardt wrote: > Hi, > > it seems that there are still some issues with in memory tables. > > The following doesn't seem to work: > > $partition=new fastbit_partition("/tmp/oat_reporting_data_1_1374/"); > $table=new fastbit_table($partition); > $unit_table=$table->select("uid,v_182,v_183,v_185","uid IN (2551,2552,2553)"); > $result=$unit_table->select("uid,v_182,v_183,v_185","v_182+v_183>4"); > > However this works: > > $partition=new fastbit_partition("/tmp/oat_reporting_data_1_1374/"); > $table=new fastbit_table($partition); > $result=$table->select("uid,v_182,v_183,v_185","v_182+v_183>4"); > > So working with arithmetic operations in memory tables doesn't seem to work > whereas it works with file tables. > > This is PHP code but it seems to be some internal stuff (and the API is more > or less the same as it would be in c++) ;) Could redo it in c++ if this helps. > > This seems to be the relevant warning from inside fastbit: > > Warning -- part[XlyUEA]::doScan -- unable to open file "(null)" ... Bad > address > > And indeed i am seeing some hard references on UnixFile() and the like in > part::doScan(). > > Kind regards, > > Andreas Streichardt > _______________________________________________ > 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
