GitHub user liming01 opened a pull request: https://github.com/apache/incubator-hawq/pull/1198
HAWQ-1417. Fixed crash when ANALYZE after COPY because of invalid res⦠â¦ource owner The root cause is: when ANALYZE is running, it will commit previous transaction, and begin one transaction for each relation to process analyze. However some code added before begining transactions, which means in this time, no transaction, and no resource owner either. The solution is to: create one resource owner for analyzeStmt(), and delete it after processing it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liming01/incubator-hawq mli/crash_analyze_resowner Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-hawq/pull/1198.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1198 ---- commit 5affd9e5ab63f60ba6e09c2fd0c90f5351f2d5b0 Author: Ming LI <m...@apache.org> Date: 2017-03-28T07:52:02Z HAWQ-1417. Fixed crash when ANALYZE after COPY because of invalid resource owner ---- --- 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. ---