SAWarning: Unknown schema content: u" KEY `index_rating_count`

Issue #3829 invalid
chendezhi created an issue

/usr/local/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/reflection.py:56: SAWarning: Unknown schema content: u" KEY index_rating_count

Comments (3)

  1. Mike Bayer repo owner

    hello -

    would you be so kind as to provide any kind of backing detail to this issue? since the warning is part of a known condition, output of SHOW CREATE TABLE would suffice in this case.

    otherwise this is only a warning and no action is needed.

  2. Mike Bayer repo owner

    confirmed this is not our 1.0.x-based index generated for InnoDB + autoinc not the first column, as those indexes all contain "idx_autoinc_<colname>" as the name and current reflection handles those.

    This appears to be an unnamed KEY and I'm not sure how to create that, or if we really care it emits a warning.

  3. Log in to comment