Hi, Alexandre,
Thanks for catching this problem. It seems that FastBit needs to mark
certain array_t objects as read-only. We will look into this shortly.
John
On 11/16/2009 1:24 AM, Alexandre Maurel wrote:
> Hi John,
>
> I think I found a problem in function ibis::column::selectValuesT.
> When a query does not specify a where clause or when mask.cnt() ==
> mask.size(), the method ibis::column::selectValuesT return a pointer on
> raw data ...
> Which cause the bundle segment method to reorder the raw data !
>
> template <typename T>
> long ibis::column::selectValuesT(const bitvector& mask,
> ibis::array_t<T>& vals) const {
> ...
> ...
> if (mask.cnt() == mask.size())
> return getValuesArray(&vals);
> ...
> ...
> if (tot == mask.size()) { // read all values
> ierr = ibis::fileManager::instance().getFile(dfn, vals);
> return ierr;
> }
>
> }
>
> Regards,
>
> Alexandre
> _______________________________________________
> 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