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: [JIRA: HAWQ-148] Bump up optimizer and gpos version
Date Sat, 14 Nov 2015 02:10:38 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master eb9c17463 -> 9d16f280c


[JIRA: HAWQ-148] Bump up optimizer and gpos version


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

Branch: refs/heads/master
Commit: 9d16f280c27537f79a3b8892090defdfa5622dbe
Parents: eb9c174
Author: Venkatesh Raghavan <vraghavan@pivotal.io>
Authored: Fri Nov 13 15:40:23 2015 -0800
Committer: Venkatesh Raghavan <vraghavan@pivotal.io>
Committed: Fri Nov 13 17:44:08 2015 -0800

----------------------------------------------------------------------
 src/backend/gpopt/config/CConfigParamMapping.cpp |  7 +++++++
 src/backend/utils/misc/guc.c                     | 11 +++++++++++
 src/include/utils/guc.h                          |  1 +
 3 files changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9d16f280/src/backend/gpopt/config/CConfigParamMapping.cpp
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/config/CConfigParamMapping.cpp b/src/backend/gpopt/config/CConfigParamMapping.cpp
index 4b21c11..d36687f 100644
--- a/src/backend/gpopt/config/CConfigParamMapping.cpp
+++ b/src/backend/gpopt/config/CConfigParamMapping.cpp
@@ -212,6 +212,13 @@ CConfigParamMapping::SConfigMappingElem CConfigParamMapping::m_elem[]
=
 		GPOS_WSZ_LIT("Disable outer join to inner join rewrite in optimizer.")
 		},
 
+        {
+        EopttraceDonotDeriveStatsForAllGroups,
+        &optimizer_enable_derive_stats_all_groups,
+        true, // m_fNegate
+        GPOS_WSZ_LIT("Disable deriving stats for all groups after exploration.")
+        },
+    
 		{
 		EopttraceEnableSpacePruning,
 		&optimizer_enable_space_pruning,

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9d16f280/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 5b2a360..c71409d 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -758,6 +758,7 @@ bool		optimizer_dml_constraints;
 bool 		optimizer_enable_master_only_queries;
 bool sort_segments_enable;
 bool 		optimizer_multilevel_partitioning;
+bool        optimizer_enable_derive_stats_all_groups;
 bool		optimizer_explain_show_status;
 
 /* Security */
@@ -3821,6 +3822,16 @@ static struct config_bool ConfigureNamesBool[] =
         },
 
         {
+               {"optimizer_enable_derive_stats_all_groups", PGC_USERSET, DEVELOPER_OPTIONS,
+                      gettext_noop("Enable stats derivation for all groups after exploration."),
+                      NULL,
+                      GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
+                },
+                &optimizer_enable_derive_stats_all_groups,
+                false, NULL, NULL
+        },
+    
+        {
                 {"optimizer_explain_show_status", PGC_USERSET, DEVELOPER_OPTIONS,
                         gettext_noop("Display optimizer version information in explain messages."),
                         NULL,

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9d16f280/src/include/utils/guc.h
----------------------------------------------------------------------
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 3821e90..14ed6a2 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -416,6 +416,7 @@ extern bool optimizer_direct_dispatch;
 extern bool optimizer_enable_master_only_queries;
 extern bool sort_segments_enable;
 extern bool optimizer_multilevel_partitioning;
+extern bool optimizer_enable_derive_stats_all_groups;
 extern bool optimizer_explain_show_status;
 
 /**


Mime
View raw message