Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-705 [created] 395d790a8


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-705
Commit: 395d790a87cec5e11a774572b0ed1ec97dd897f9
Parents: 4d44097
Author: Oleksandr Diachenko <[email protected]>
Authored: Fri Apr 22 16:44:53 2016 -0700
Committer: Oleksandr Diachenko <[email protected]>
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)
                {

Reply via email to