hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject incubator-hawq git commit: HAWQ-997. Fixed count parameter naming.
Date Wed, 24 Aug 2016 18:54:50 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-997 8f1cd6e3c -> 582c5a0ce


HAWQ-997. Fixed count parameter naming.


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

Branch: refs/heads/HAWQ-997
Commit: 582c5a0ce4df160ca86a13252f344d1c13ab3b9b
Parents: 8f1cd6e
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Wed Aug 24 11:54:40 2016 -0700
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Wed Aug 24 11:54:40 2016 -0700

----------------------------------------------------------------------
 src/backend/access/external/pxfheaders.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/582c5a0c/src/backend/access/external/pxfheaders.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/pxfheaders.c b/src/backend/access/external/pxfheaders.c
index b50ee22..e9278b6 100644
--- a/src/backend/access/external/pxfheaders.c
+++ b/src/backend/access/external/pxfheaders.c
@@ -172,7 +172,7 @@ static void add_tuple_desc_httpheader(CHURL_HEADERS headers, Relation
rel)
 				case NUMERICOID:
 				{
 					resetStringInfo(&formatter);
-					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMODX-COUNT");
+					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMOD%u-COUNT", i);
 					pg_ltoa(2, long_number);
 					churl_headers_append(headers, formatter.data, long_number);
 
@@ -195,7 +195,7 @@ static void add_tuple_desc_httpheader(CHURL_HEADERS headers, Relation
rel)
 				case VARCHAROID:
 				{
 					resetStringInfo(&formatter);
-					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMODX-COUNT");
+					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMOD%u-COUNT", i);
 					pg_ltoa(1, long_number);
 					churl_headers_append(headers, formatter.data, long_number);
 
@@ -213,7 +213,7 @@ static void add_tuple_desc_httpheader(CHURL_HEADERS headers, Relation
rel)
 				case TIMETZOID:
 				{
 					resetStringInfo(&formatter);
-					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMODX-COUNT");
+					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMOD%u-COUNT", i);
 					pg_ltoa(1, long_number);
 					churl_headers_append(headers, formatter.data, long_number);
 
@@ -226,7 +226,7 @@ static void add_tuple_desc_httpheader(CHURL_HEADERS headers, Relation
rel)
 				case INTERVALOID:
 				{
 					resetStringInfo(&formatter);
-					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMODX-COUNT");
+					appendStringInfo(&formatter, "X-GP-ATTR-TYPEMOD%u-COUNT", i);
 					pg_ltoa(1, long_number);
 					churl_headers_append(headers, formatter.data, long_number);
 


Mime
View raw message