Github user edespino commented on a diff in the pull request: https://github.com/apache/incubator-madlib/pull/157#discussion_r130699593 --- Diff: src/ports/postgres/modules/utilities/control.py_in --- @@ -24,56 +25,66 @@ HAS_FUNCTION_PROPERTIES = m4_ifdef(<!__HAS_FUNCTION_PROPERTIES__!>, <!True!>, <! UDF_ON_SEGMENT_NOT_ALLOWED = m4_ifdef(<!__UDF_ON_SEGMENT_NOT_ALLOWED__!>, <!True!>, <!False!>) -class EnableOptimizer(object): +class OptimizerControl(object): """ @brief: A wrapper that enables/disables the optimizer and then sets it back to the original value on exit --- End diff -- You might want to consider updating the description to include reference to the guc `optimizer_control` and its usage.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---