Hi, Andreas, You have a point about read-only data partition. It would be useful to be able to create a data partition object representing read-only data or existing data. Let me suggest that we add another argument to the constructor to indicate what we want. Guess the argument has to be an optional one. Do you have any opinion what sort of options it should be able to express? Two obvious ones are whether the data directory must exist, and whether the data is read-only. Anything else?
John On 1/20/2010 10:04 AM, Andreas Streichardt wrote: > Hi, > > This is a minor wish i would normally fill into some kind of issue tracker but > i couldn't find any (is there one? :S). > > No need to act here as i will catch this on my side now: > > Currently i am using the ibis::part interface to create a partition: > > part=new ibis::part(datadir,0); > > This automagically creates a directory. I guess this might not be desired in > most situations and should throw an error. Having a separate constructor which > doesn't use magic but throws an error (i want to force the user to specify an > existing directory) would at least in my case be desireable. > > What do you think? I am a great fan of "the lesser the magic the better the > result" ;). > > As said before. No need to act here right now. Just an idea (i really need an > issue tracker :S). > > 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
