Skip to content

Interleaving non-PK column with PK columns cause lookup panic in python binding #343

@leekeiabstraction

Description

@leekeiabstraction

Search before asking

  • I searched in the issues and found nothing similar.

Please describe the bug 🐞

Interleaving non-PK column with PK columns cause lookup panic in python binding.

  Upserting rows...                                                                                                                                                               
    upsert {'pk1': 1, 'data1': 'alpha', 'pk2': 10, 'data2': 'AAA'} OK                                                                                                             
    upsert {'pk1': 1, 'data1': 'beta', 'pk2': 20, 'data2': 'BBB'} OK       
    upsert {'pk1': 2, 'data1': 'gamma', 'pk2': 10, 'data2': 'CCC'} OK                                                                                                             
                                                                           
  Looking up rows...
    ← panic here on lookuper.lookup({"pk1": 1, "pk2": 10})

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions