From e378004620d286934253fb0a82718cf3574eedf2 Mon Sep 17 00:00:00 2001 From: Georgy Shelkovy Date: Wed, 23 Oct 2024 12:16:26 +0500 Subject: [PATCH] fix --- src/gp_activetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gp_activetable.c b/src/gp_activetable.c index 85396d27..5800c2cb 100644 --- a/src/gp_activetable.c +++ b/src/gp_activetable.c @@ -954,5 +954,5 @@ pull_active_list_from_seg(StringInfo sql) } cdbdisp_clearCdbPgResults(&cdb_pgresults); - appendStringInfo(sql, "}'::oid[])).* from gp_dist_random('gp_id')) select \"TABLE_OID\" tableid, array[sum(\"TABLE_SIZE\")] || array_agg(\"TABLE_SIZE\" order by \"GP_SEGMENT_ID\") size from s group by 1"); + appendStringInfo(sql, "}'::oid[])).* from gp_dist_random('gp_id')) select \"TABLE_OID\" tableid, array[sum(\"TABLE_SIZE\")::bigint] || array_agg(\"TABLE_SIZE\" order by \"GP_SEGMENT_ID\") size from s group by 1"); }