Skip to content

Conversation

@sfc-gh-jcieslak
Copy link
Member

@sfc-gh-jcieslak sfc-gh-jcieslak commented Feb 11, 2026

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-2331576: sqlalchemy.orm.exc.FlushError: NULL identity key for primary key column with when using Identity() #611

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding new credentials
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Previously, autoincrement was only available when using SQLAlchemy Core. With implicit sequence support, autoincrement now also works for the SnowflakeTable ORM mapping.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SNOW-2331576: sqlalchemy.orm.exc.FlushError: NULL identity key for primary key column with when using Identity()

1 participant