Re: [sqlalchemy] Reflection fails on binary columns in sqlite

2011-01-12 Thread Michael Bayer
A fix for this specific issue is in re8edc49d0ad7. Note however that "BINARY" is not one of the type descriptors the SQLite dialect recognizes, so this reflects as NullType() on that backend (it always has). SQlite uses a value-based type system so it doesn't actually matter all that much.

[sqlalchemy] Reflection fails on binary columns in sqlite

2011-01-12 Thread scott
I'm trying to reflect a sqlite database with the hg tip, and it seems to fail whenever a BINARY column is present in the database. The same error happens whether reflecting the entire database at once (using metadata.reflect()) or just reflecting the specific table. A reduction with a traceback is