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/HAWQ-543
Commit: 4ecad4fe971de43fa9868b80d2da9e666fd246a6
Parents: 56fa206
Author: Venkatesh (Venky) Raghavan <vragha...@pivotal.io>
Authored: Wed Jun 22 15:41:30 2016 -0700
Committer: Venkatesh (Venky) Raghavan <vragha...@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")}

Reply via email to