On Jan 30, 2013, at 9:21 AM, Mario Briggs wrote:
>
> Anyhow coming to release plans, i thought it is fair that i update you
> of the plans given we have the signed CLA from you (thanks again).
> Plan would be to run the entire sqlalchemy test suite to see where we
> stand, hoping Rahul can get to that after this memory consumption
> issue. I know you did mention that it already passes schema generation/
> reflection, INSERT mechanics, basic SQL statements, and basic data
> types like strings, unicode, and dates.
part of the rationale for the "compliance suite" was that it is designed to test specific contracts of dialects on an individual basis. Outside of that suite, the majority of SQLAlchemy tests, like all the ORM tests and such, are emphasizing the testing of SQLAlchemy internals and usage contracts - these tests often call upon various capabilities that some dialects just don't have. So it's challenging to get the full expanse of all the ORM tests and such to run for all dialects. In theory, once the "compliance suite" is mature enough (it's halfway there), there won't be any need to get the expanse of ORM tests to run for most dialects. So if the ibm_db dialect is failing a lot across many ORM tests, those are likely not bugs, just things that the DB2 dialect doesn't support.
>
> On a related note, saw that you change the class name IBM_DBCompiler
> => DB2TypeCompiler etc. Some of the IBM openstack folks patched
> sqlaclhemy-migrate for DB2 and used those class names, so changes for
> them.... i guess that was not such a good practice anyway.
OK I fixed up all the names but what I can do, when I re-patch for the git transition, is to ensure that all the old names are still present, including the "ibm_db://" engine prefix and such. The naming scheme I used is the standard scheme that is used across all dialects, which is:
base.py: <Prefix><Component>
<dbapi>.py: <Prefix><Component>_<dbapi>
such as:
DB2Compiler, DB2Compiler_pyodbc
etc.
that scheme should be present at this point in most/all of the dialects in sqlalchemy/dialects.