The write() methods of BcolzDailyBarWriter and BcolzMinuteBarWriter have identical signatures but very different semantics. Specifically BcolzMinuteBarWriter.write()appends to the table, whereas BcolzDailyBarWriter.write()overwrites the table. This is currently undocumented.
Ideally the code would be refactored so that each class implements an abstract method in a common abstract base-class and the append/rewrite behavior is consistent across both, but obviously there might be backward-compatibility issues.
Failing that, it would be good to document whether the behavior appends or rewrites the table in the docstring for each method.
The
write()
methods ofBcolzDailyBarWriter
andBcolzMinuteBarWriter
have identical signatures but very different semantics. SpecificallyBcolzMinuteBarWriter.write()
appends to the table, whereasBcolzDailyBarWriter.write()
overwrites the table. This is currently undocumented.Ideally the code would be refactored so that each class implements an abstract method in a common abstract base-class and the append/rewrite behavior is consistent across both, but obviously there might be backward-compatibility issues.
Failing that, it would be good to document whether the behavior appends or rewrites the table in the docstring for each method.