Skip to content

get_columns fails for certain column types #151

Description

@kadler
base.py:1128: SAWarning: Did not recognize type 'TIMESTMP' of column 'CREATEDTIMESTAMP'
util.warn("Did not recognize type '%s' of column '%s'" %

This is because the keys in ischema_names don't match the values returned by QSYS2.SYSCOLS, eg. it has "TIMESTAMP" instead of "TIMESTMP".

Because sqlalchemy-ibmi is based on ibm_db_sa which supports multiple Db2 flavors, I'm not sure if this bug was due to differences in SYSCOLS between LUW and IBM i or if it was just always wrong.

I've got some code for this, in addition to refactoring how get_columns is implemented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions