You've understood the code correctly, but I don't think this behavior needs to stay in (it was included in the code that came from the dbapi2 driver).  This function is only used internally when examining the schema portion of result messages. In fact, there's a whole extra level of lookups going on there that isn't needed.  I think I'm just going to remove ``lookup_cqltype()`` altogether.