Commit 1119cf9
王平10304955
Extending gpfdist in Cloudberry Database to Support SFTP Protocol for Data Ingestion
gpfdist is a file distribution program in Cloudberry that can parallel
load external data into the database. However, it has the drawback
that data files must reside on the same machine as the tool.
Therefore,extending it to support the SFTP protocol can address the
above drawback and enable loading files from a remote server.
Add the libssh2 library and specify the link.
Implement remote data file reading using the libssh2 library with
gpfdist.
Extending gpfdist in Cloudberry Database to Support
SFTP Protocol for Data Ingestion -- add LIBSSH2 macro
ADD LIBSSH2 macro Label the SFTP-related code to indicate its
characteristics.1 parent f7cbca1 commit 1119cf9
10 files changed
+763
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments