khannaekta opened a new pull request #566: URL: https://github.com/apache/madlib/pull/566
On running back to back queries for load_top_k_accuracy_function in the same psql session on GPDB6, if any query fails in between, the very next query hangs. This commit fixes that issue by moving the with AOControl clause to where we create the table, rather than updating it at the function entry level. Removed top level AOControl from `load_custom_function` too as that is what we internally call from load_top_k_accuracy_function. <!-- Thanks for sending a pull request! Here are some tips for you: 1. Refer to this link for contribution guidelines https://cwiki.apache.org/confluence/display/MADLIB/Contribution+Guidelines 2. Please Provide the Module Name, a JIRA Number and a short description about your changes. --> - [ ] Add the module name, JIRA# to PR/commit and description. - [ ] Add tests for the change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org