[storm] Handling non-standard database types
Dan Halbert
halbert at halwitz.org
Tue Sep 1 18:35:28 BST 2009
I am interested in using Storm with PostgreSQL, including some atypical data types. Specifically, my PostgreSQL tables have POINT, BOX, and POINT[] (array of POINT) column types, and a few enumerated types.
I understand how to use Enum() for the enumerated types, if I wanted to remap the values. But how can I handle the other types? I have already successfully written psycopg2 adapters for these types.
I've done a cursory look, and it appears I need to add Point, PointVariable, etc. to properties.py and variables.py. Or is there some other way to do this neatly? Would POINT[] just get converted into a List()?
Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20090901/7fa08447/attachment.htm
More information about the storm
mailing list