Hi, Alex,

In this case, it might be better to leave the in-memory data for the
categorical values as UINT (i.e., the integer version of the string
values).  As long as we know which dictionary to use, we should be
able to reconstruct the string values for output.  Does this sound
right to you?  If you have something more specific, please describe
your use case and we will see what else might be good.

John


On 1/25/12 7:34 AM, Alexandre Maurel wrote:
> Hello John,
> 
> There is no way to create a bundle from an in_memory partition with a 
> category column.
> If the column is of type CATEGORY the method  
> ibis::bord::column::selectUInts is not handling the case correctly.
> 
> I managed to create a dictionary on the fly in the method 
> ibis::bord::column::selectUInts and fill an uint vector. But I believe 
> that there is better way to handle that case.
> 
> 
> Regards,
> 
> Alex
> _______________________________________________
> 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

Reply via email to