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 2020/03/11 09:47:24 UTC

[hawq] branch huor updated (202bc0b -> 6c72703)

This is an automated email from the ASF dual-hosted git repository.

huor pushed a change to branch huor
in repository https://gitbox.apache.org/repos/asf/hawq.git.


    from 202bc0b  HAWQ-1756. add comment for struct TargetSegmentIDMap.
     add 5700463  HAWQ-1758. Add debug info for udf
     new 6c72703  HAWQ-1760. datalocality information should be showed by default

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/backend/cdb/cdbdatalocality.c |   2 +-
 src/backend/commands/explain.c    |  25 +------
 src/backend/executor/spi.c        | 143 +++++++++++++++++++++++++++++++++++++-
 src/backend/utils/misc/guc.c      |   9 +++
 src/include/commands/explain.h    |  20 ++++++
 src/include/executor/spi.h        |   2 +
 src/include/utils/guc.h           |   1 +
 src/test/regress/checkinc.py      |   1 +
 8 files changed, 178 insertions(+), 25 deletions(-)


[hawq] 01/01: HAWQ-1760. datalocality information should be showed by default

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

huor pushed a commit to branch huor
in repository https://gitbox.apache.org/repos/asf/hawq.git

commit 6c727039216c32f9fab02c28d629c8c6cf92f979
Author: Ruilong Huo <hu...@163.com>
AuthorDate: Wed Mar 11 17:46:06 2020 +0800

    HAWQ-1760. datalocality information should be showed by default
---
 src/backend/cdb/cdbdatalocality.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index d2cfd72..a54527e 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -3723,7 +3723,7 @@ static void print_datalocality_overall_log_information(SplitAllocResult *result,
 	}
 	/* print data locality result*/
 	elog(
-			DEBUG1, "data locality ratio: %.3f; virtual segment number: %d; "
+			LOG, "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 B/"INT64_FORMAT" B/"INT64_FORMAT" B); "
 			"segment size with penalty(avg/min/max): (%.3f B/"INT64_FORMAT" B/"INT64_FORMAT" B); continuity(avg/min/max): (%.3f/%.3f/%.3f)."