-
Notifications
You must be signed in to change notification settings - Fork 151
Replies: 1 comment · 9 replies
-
|
Can you share the query + error message where it's not working? Because json_contains is actually implemented and tested: pg_duckdb/test/regression/sql/json_functions_duckdb.sql Lines 92 to 101 in b9ea050
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Oh weird, the query works for me in psql, but not from the retool application. I wonder if this is some issue with the connector it's using? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
That output looks good. Some sanity checks: Are you using the same connection string in retool and psql? Maybe a different user or something? Or you're connecting to a different database? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Ah there we go, if I log in with the retool user the query fails with the same error. The output of the \dx commands looks the same though, and this user is a superuser with pg_read_all_data assigned. Is there a more specific permission I need to grant it? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
maybe the |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Aha! yeah you're right I had changed the search path for this user, setting it back to public fixed the issue. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The json_contains function family is missing from the implementation in pg_duckdb.
Beta Was this translation helpful? Give feedback.
All reactions