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