You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT c.* FROM public.channel c, public.channel_member cm WHERE cm.user_uuid = $user_uuid AND c.company_id = $company_id AND c.channel_uuid = cm.channel_uuid
Results in
WARNING: Failed parse custom query. Reason={error,error,<<"42702">>,
ambiguous_column,
<<"column reference \"version\" is ambiguous">>,
[{file,<<"parse_relation.c">>},
{line,<<"898">>},
{position,<<"114">>},
{routine,<<"colNameToVar">>},
{severity,<<"ERROR">>}]}, Stmt="SELECT c.channel_uuid, company_id, started_on, last_message_on, total_tokens, model, system_prompt, user_prompt, version FROM public.channel c, public.channel_member cm "```
All columns should be prefixed with the tables alias
The text was updated successfully, but these errors were encountered:
The query:
Results in
The text was updated successfully, but these errors were encountered: