hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vraghava...@apache.org
Subject incubator-hawq git commit: HAWQ-859. Fix the naming of output columns of append node [#122086135]
Date Mon, 27 Jun 2016 22:20:08 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 4ecad4fe9 -> 86c07d2a4


HAWQ-859. Fix the naming of output columns of append node [#122086135]


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

Branch: refs/heads/master
Commit: 86c07d2a4608a291f4f17bc9902e412e630eca0f
Parents: 4ecad4f
Author: Venkatesh (Venky) Raghavan <vraghavan@pivotal.io>
Authored: Thu Jun 23 11:07:38 2016 -0700
Committer: Venkatesh (Venky) Raghavan <vraghavan@pivotal.io>
Committed: Mon Jun 27 15:17:28 2016 -0700

----------------------------------------------------------------------
 src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/86c07d2a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
index 21da4fd..fe68cbd 100644
--- a/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
+++ b/src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp
@@ -3622,7 +3622,7 @@ CTranslatorDXLToPlStmt::PappendFromDXLAppend
 
 		TargetEntry *pte = MakeNode(TargetEntry);
 		pte->expr = (Expr *) pvar;
-		pte->resname = CTranslatorUtils::SzFromWsz(pdxlopScIdent->Pdxlcr()->Pmdname()->Pstr()->Wsz());
+		pte->resname = CTranslatorUtils::SzFromWsz(pdxlopPrel->PmdnameAlias()->Pstr()->Wsz());
 		pte->resno = attno;
 
 		// add column mapping to output translation context


Mime
View raw message