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
Hi, maybe I am doing something wrong, but I cannot get streaming subs to work with a distributed table. I always get the follow error from postgres:
// ERROR: cannot perform a lateral outer join when a distributed subquery
// references a table function
// STATEMENT: SELECT "__subs"."result_id" , "__fld_resp"."root" AS "result",
// "__fld_resp"."cursor" AS "cursor" FROM UNNEST(($1)::uuid[], ($2)::json[]) AS
// "__subs ││ "("result_id", "result_vars") LEFT OUTER JOIN LATERAL (SELECT
// json_build_object('tracksummary_stream', "_tracksummary_stream"."root" ) AS
// "root", to_json("_tracksummary_stream"."cursor" ) AS "c ││ ursor" FROM
// (SELECT coalesce(json_agg("root" ORDER BY "root.pg.meta_dateTimeLastUpdate"
// ASC ), '[]' ) AS "root", json_build_object('meta_dateTimeLastUpdate',
// (MAX("root.pg.meta_dateTimeLastUpd ││ ate" ))::text ) AS "cursor" FROM
// (SELECT row_to_json((SELECT "_e" FROM (SELECT
// "_root.base"."featureCollection" AS "featureCollection" ) AS "_e" ) ) AS
// "root", "_root.base"."met ││ a_dateTimeLastUpdate" AS
// "root.pg.meta_dateTimeLastUpdate" FROM (SELECT * FROM "public"."tracksummary"
// WHERE (("public"."tracksummary"."meta_dateTimeLastUpdate") >
// ((("__subs"."result_vars"# ││ >>ARRAY['cursor',
// 'meta_dateTimeLastUpdate']))::timestamptz)) ORDER BY
// "meta_dateTimeLastUpdate" ASC LIMIT 2 ) AS "_root.base" ORDER BY
// "root.pg.meta_dateTimeLastUpdate" ASC ) AS "_root" ││ ) AS
// "_tracksummary_stream" ) AS "__fld_resp" ON ('true')
The text was updated successfully, but these errors were encountered:
Hi, maybe I am doing something wrong, but I cannot get streaming subs to work with a distributed table. I always get the follow error from postgres:
The text was updated successfully, but these errors were encountered: