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"); }