Skip to content

Commit b25c9c6

Browse files
Update go/internal/feast/onlinestore/postgresonlinestore.go
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Signed-off-by: samuelkim7 <samuel.kim@goflink.com>
1 parent fe22220 commit b25c9c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go/internal/feast/onlinestore/postgresonlinestore.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ func (p *PostgresOnlineStore) OnlineRead(ctx context.Context, entityKeys []*type
7171
}
7272

7373
for _, featureViewName := range featureViewNames {
74-
tableName := fmt.Sprintf(`"%s"`, tableId(p.project, featureViewName))
74+
tableName := fmt.Sprintf(`"%s"`, strings.ReplaceAll(tableId(p.project, featureViewName), `"`, `""`))
75+
7576
query := fmt.Sprintf(
7677
`SELECT entity_key, feature_name, value, event_ts FROM %s WHERE entity_key = ANY($1)`,
7778
tableName,

0 commit comments

Comments
 (0)