Skip to content

SNOW-922868: Preserve the sequence order of foreign keys when dealing with composite keys. #450

@skp33

Description

@skp33

Hi Team,

I am encountering issues while working with composite foreign keys. For every version, I am receiving fixed create_foreign_key and drop_constraint operations. Upon debugging, I discovered that we are not preserving the sequence order of foreign keys when comparing with metadata.

For more detail, I am pointing out the specific code snippet that requires modification. - https://github.com/snowflakedb/snowflake-sqlalchemy/blob/main/src/snowflake/sqlalchemy/snowdialect.py#L414-L434C18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus-triage_doneInitial triage done, will be further handled by the driver team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions