Github user xunzhang commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/796#discussion_r71460571 --- Diff: src/backend/access/external/fileam.c --- @@ -454,6 +454,21 @@ external_stopscan(FileScanDesc scan) } } +/* ---------------- + * external_getnext_init - prepare ExternalSelectDesc struct before external_getnext +/* ---------------- + */ + +ExternalSelectDesc +external_getnext_init(PlanState *state) { + ExternalSelectDesc desc = (ExternalSelectDesc) palloc0(sizeof(ExternalSelectDescData)); --- End diff -- I just want to make sure when does `desc` object be freed?
--- 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. ---