GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SqlRegistry _apply_object doesn't take into account match with project_id when updating row · Issue #4027 · feast-dev/feast

SqlRegistry _apply_object doesn't take into account match with project_id when updating row #4027

New issue
Copy link
New issue
Copy link
Closed
#4042
Closed
SqlRegistry _apply_object doesn't take into account match with project_id when updating row#4027
#4042
Copy link
Labels
kind/bugpriority/p2

Description

@Nmroth42
Nmroth42
opened on Mar 21, 2024
Issue body actions

SqlRegistry _apply_object doesn't take into account match with project_id when updating row.
https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L736

Wrong (as is):
.where(getattr(table.c, id_field_name) == name)

Correct:
.where(getattr(table.c, id_field_name) == name, table.c.project_id == project)

Reacted by Tornike Gurgenidze

Activity

  1. Nmroth42
    added
    kind/bug
    priority/p2
    on Mar 21, 2024
  2. Nmroth42
    changed the title [-]SqlRegistry _apply_object doesn't take into account match with project_id on update[/-] [+]SqlRegistry _apply_object doesn't take into account match with project_id when updating row[/+] on Mar 21, 2024
  3. tokoko commented on Mar 25, 2024

    @tokoko
    tokoko
    on Mar 25, 2024
    Collaborator
    More actions

    @Nmroth42 thanks, would you like to open a PR for this?

  4. Nmroth42 commented on Mar 26, 2024

    @Nmroth42
    Nmroth42
    on Mar 26, 2024
    ContributorAuthor
    More actions

    #4042

  5. jeremyary
    closed this as completedin #4042on Mar 27, 2024
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

    kind/bugpriority/p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.