You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2015/10/28 03:49:51 UTC

incubator-hawq git commit: HAWQ-89. format the explain analyze results

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 01f15314f -> 83854f932


HAWQ-89. format the explain analyze results


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/83854f93
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/83854f93
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/83854f93

Branch: refs/heads/master
Commit: 83854f932890ace13ba1bdfdb1263f34436b7059
Parents: 01f1531
Author: hubertzhang <hz...@pivotal.io>
Authored: Wed Oct 28 10:28:27 2015 +0800
Committer: hubertzhang <hz...@pivotal.io>
Committed: Wed Oct 28 10:46:49 2015 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbdatalocality.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/83854f93/src/backend/cdb/cdbdatalocality.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index 24d8b05..c429b33 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -3265,10 +3265,10 @@ static void print_datalocality_overall_log_information(SplitAllocResult *result,
 			log_context->avgContinuityOverall,log_context->minContinuityOverall,log_context->maxContinuityOverall
 			);
 
-	appendStringInfo(result->datalocalityInfo, "datalocality ratio: %.3f; virtual segments number: %d, "
-			"different host number: %d, segment number per host(avg/min/max): (%d/%d/%d); "
-			"segments size(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); "
-			"segments size with penalty(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); continuity(avg/min/max): (%.3f/%.3f/%.3f)."
+	appendStringInfo(result->datalocalityInfo, "data locality ratio: %.3f; virtual segment number: %d; "
+			"different host number: %d; virtual segment number per host(avg/min/max): (%d/%d/%d); "
+			"segment size(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); "
+			"segment size with penalty(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); continuity(avg/min/max): (%.3f/%.3f/%.3f)."
 			,log_context->datalocalityRatio,assignment_context->virtual_segment_num,log_context->numofDifferentHost,
 			log_context->avgSegmentNumofHost,log_context->minSegmentNumofHost,log_context->maxSegmentNumofHost,
 			log_context->avgSizeOverall,log_context->minSizeSegmentOverall,log_context->maxSizeSegmentOverall,