This is an automated email from the ASF dual-hosted git repository.
huor pushed a commit to branch taoz
in repository https://gitbox.apache.org/repos/asf/hawq.git
The following commit(s) were added to refs/heads/taoz by this push:
new 9c7ca3c HAWQ-1730. Fix missing data when inserting into external
table select from internal table using gpfdist
9c7ca3c is described below
commit 9c7ca3c2ce0b825c7236eaf208abf2475d9c992f
Author: Ruilong Huo <[email protected]>
AuthorDate: Wed Jul 24 21:20:28 2019 +0800
HAWQ-1730. Fix missing data when inserting into external table select from
internal table using gpfdist
---
src/backend/access/external/url_curl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/access/external/url_curl.c
b/src/backend/access/external/url_curl.c
index 422f65e..dd28bfd 100644
--- a/src/backend/access/external/url_curl.c
+++ b/src/backend/access/external/url_curl.c
@@ -1012,6 +1012,7 @@ static void gp_proto0_write(URL_FILE *file, CopyState
pstate) {
replace_httpheader(file, "X-GP-SEQ", seq);
gp_curl_easy_perform_backoff_and_check_response(file);
+ file->u.curl.seq_number++;
}
static size_t curl_fwrite(char *buf, int nbytes, URL_FILE *file,