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-857. Remove dead code in the Algebrizer
Date Mon, 27 Jun 2016 22:15:47 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 56fa20678 -> 4ecad4fe9


HAWQ-857. Remove dead code in the Algebrizer


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

Branch: refs/heads/master
Commit: 4ecad4fe971de43fa9868b80d2da9e666fd246a6
Parents: 56fa206
Author: Venkatesh (Venky) Raghavan <vraghavan@pivotal.io>
Authored: Wed Jun 22 15:41:30 2016 -0700
Committer: Venkatesh (Venky) Raghavan <vraghavan@pivotal.io>
Committed: Mon Jun 27 15:13:06 2016 -0700

----------------------------------------------------------------------
 src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/4ecad4fe/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp b/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
index ed23282..e03a542 100644
--- a/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
+++ b/src/backend/gpopt/translate/CTranslatorQueryToDXL.cpp
@@ -433,15 +433,6 @@ CTranslatorQueryToDXL::CheckSupportedCmdType
 		return;
 	}
 
-	if (CMD_INSERT == pquery->commandType || CMD_DELETE == pquery->commandType || CMD_UPDATE
== pquery->commandType)
-	{
-		if (NULL != pquery->resultRelations)
-		{
-			GPOS_RAISE(gpdxl::ExmaDXL, gpdxl::ExmiQuery2DXLUnsupportedFeature, GPOS_WSZ_LIT("DML on
partitioned tables"));
-		}
-		return;
-	}
-
 	SCmdNameElem rgStrMap[] =
 		{
 		{CMD_UTILITY, GPOS_WSZ_LIT("UTILITY command")}


Mime
View raw message