hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject [08/13] incubator-hawq git commit: HAWQ-705. Fixed aggregation on psql for Hive tables.
Date Tue, 03 May 2016 00:33:24 GMT
HAWQ-705. Fixed aggregation on psql for Hive tables.


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

Branch: refs/heads/HAWQ-703
Commit: 395d790a87cec5e11a774572b0ed1ec97dd897f9
Parents: 4d44097
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Fri Apr 22 16:44:53 2016 -0700
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Fri Apr 22 16:44:53 2016 -0700

----------------------------------------------------------------------
 src/bin/psql/describe.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/395d790a/src/bin/psql/describe.c
----------------------------------------------------------------------
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index f1de41b..00cfe33 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -4307,8 +4307,10 @@ describePxfTable(const char *profile, const char *pattern, bool verbose)
 
 		/* First row for current table */
 		if (previous_itemname == NULL
+				|| strlen(previous_itemname) != strlen(itemname)
 				|| strncmp(previous_itemname, itemname,
 						strlen(previous_itemname)) != 0
+				|| strlen(previous_path) != strlen(path)
 				|| strncmp(previous_path, path,
 						strlen(previous_path)) != 0)
 		{


Mime
View raw message