From 9bd4dc2b5662e1d9ac225c4b4774f5b250235e7f Mon Sep 17 00:00:00 2001 From: Asim R P Date: Tue, 16 Apr 2019 12:49:14 +0530 Subject: [PATCH] Update avg() output in binary swap tests The answerfile was generated against 5X. A lot has changed in numeric.c since then, so update answer file accordingly. --- src/test/binary_swap/expected/resgroup_current_1_group.out | 6 +++--- src/test/binary_swap/expected/resgroup_current_1_queue.out | 6 +++--- src/test/binary_swap/expected/resgroup_current_3_group.out | 6 +++--- src/test/binary_swap/expected/resgroup_current_3_queue.out | 6 +++--- src/test/binary_swap/expected/resgroup_other_2_queue.out | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/test/binary_swap/expected/resgroup_current_1_group.out b/src/test/binary_swap/expected/resgroup_current_1_group.out index f68923f718..3c20d4d6b0 100644 --- a/src/test/binary_swap/expected/resgroup_current_1_group.out +++ b/src/test/binary_swap/expected/resgroup_current_1_group.out @@ -18,9 +18,9 @@ select * from pg_resgroup select avg(reslimittype) from pg_resgroupcapability where reslimittype <= 1; - avg ------ - 1 + avg +------------------------ + 1.00000000000000000000 (1 row) select groupname from gp_toolkit.gp_resgroup_config diff --git a/src/test/binary_swap/expected/resgroup_current_1_queue.out b/src/test/binary_swap/expected/resgroup_current_1_queue.out index 8192d763ee..21901cf16a 100644 --- a/src/test/binary_swap/expected/resgroup_current_1_queue.out +++ b/src/test/binary_swap/expected/resgroup_current_1_queue.out @@ -16,9 +16,9 @@ select * from pg_resgroup select avg(reslimittype) from pg_resgroupcapability where reslimittype <= 1; - avg ------ - 1 + avg +------------------------ + 1.00000000000000000000 (1 row) select groupname from gp_toolkit.gp_resgroup_config diff --git a/src/test/binary_swap/expected/resgroup_current_3_group.out b/src/test/binary_swap/expected/resgroup_current_3_group.out index f68923f718..3c20d4d6b0 100644 --- a/src/test/binary_swap/expected/resgroup_current_3_group.out +++ b/src/test/binary_swap/expected/resgroup_current_3_group.out @@ -18,9 +18,9 @@ select * from pg_resgroup select avg(reslimittype) from pg_resgroupcapability where reslimittype <= 1; - avg ------ - 1 + avg +------------------------ + 1.00000000000000000000 (1 row) select groupname from gp_toolkit.gp_resgroup_config diff --git a/src/test/binary_swap/expected/resgroup_current_3_queue.out b/src/test/binary_swap/expected/resgroup_current_3_queue.out index 63bf1afbc7..358b23dded 100644 --- a/src/test/binary_swap/expected/resgroup_current_3_queue.out +++ b/src/test/binary_swap/expected/resgroup_current_3_queue.out @@ -18,9 +18,9 @@ select * from pg_resgroup select avg(reslimittype) from pg_resgroupcapability where reslimittype <= 1; - avg ------ - 1 + avg +------------------------ + 1.00000000000000000000 (1 row) select groupname from gp_toolkit.gp_resgroup_config diff --git a/src/test/binary_swap/expected/resgroup_other_2_queue.out b/src/test/binary_swap/expected/resgroup_other_2_queue.out index 63bf1afbc7..358b23dded 100644 --- a/src/test/binary_swap/expected/resgroup_other_2_queue.out +++ b/src/test/binary_swap/expected/resgroup_other_2_queue.out @@ -18,9 +18,9 @@ select * from pg_resgroup select avg(reslimittype) from pg_resgroupcapability where reslimittype <= 1; - avg ------ - 1 + avg +------------------------ + 1.00000000000000000000 (1 row) select groupname from gp_toolkit.gp_resgroup_config -- GitLab