You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by sh...@apache.org on 2016/08/01 23:18:24 UTC

incubator-hawq git commit: HAWQ-973. Check pi_varList before adding proj headers

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 117bb5bf6 -> 52fb7ab5a


HAWQ-973. Check pi_varList before adding proj headers


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

Branch: refs/heads/master
Commit: 52fb7ab5a60774f87f52e470ecac585c27bc24ce
Parents: 117bb5b
Author: Kavinder Dhaliwal <ka...@gmail.com>
Authored: Mon Aug 1 15:53:40 2016 -0700
Committer: Shivram Mani <sh...@gmail.com>
Committed: Mon Aug 1 16:18:01 2016 -0700

----------------------------------------------------------------------
 src/backend/access/external/pxfheaders.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/52fb7ab5/src/backend/access/external/pxfheaders.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/pxfheaders.c b/src/backend/access/external/pxfheaders.c
index e653d30..45fcc35 100644
--- a/src/backend/access/external/pxfheaders.c
+++ b/src/backend/access/external/pxfheaders.c
@@ -62,7 +62,7 @@ void build_http_header(PxfInputData *input)
 		add_tuple_desc_httpheader(headers, rel);
 	}
 	
-	if (proj_info != NULL)
+	if (proj_info != NULL && proj_info->pi_isVarList)
 	{
 		add_projection_desc_httpheader(headers, proj_info);
 	}