[secure-agent-modelarmor]
@AbiramiSukumaran is already working on this.
Since Jul 20, 2026.
Assessment
This issue has not been assessed yet.
Description
The following Command gives an "postgresql error: Permission denied on the resource." error:
WITH
rows_to_update AS (
SELECT
id
FROM
products
WHERE
embedding IS NULL
LIMIT
5000 )
UPDATE
products
SET
embedding = ai.embedding('text-embedding-005', name || ' ' || category || ' ' || distribution_center || ' ' || region)::vector
FROM
rows_to_update
WHERE
products.id = rows_to_update.id
AND embedding IS null;
In order to work, ai.embedding has to be replaced by google_ml.embedding if I'm not wrong
Thanks
- Dominant language
- No language data
- Stars
- 30
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googlecodelabs/feedback
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
googlecodelabs/feedback#2243 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
googlecodelabs/feedback#2237 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
googlecodelabs/feedback#2225 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
googlecodelabs/feedback#1675 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
googlecodelabs/feedback#1479 ·