You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by od...@apache.org on 2016/05/03 02:33:24 UTC
[08/13] incubator-hawq git commit: HAWQ-705. Fixed aggregation on
psql for Hive tables.
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 <od...@pivotal.io>
Authored: Fri Apr 22 16:44:53 2016 -0700
Committer: Oleksandr Diachenko <od...@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)
{