This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
copy-from-local [2015/09/23 20:27] 127.0.0.1 external edit |
copy-from-local [2016/05/12 12:41] dmtolpeko |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== COPY FROM LOCAL Statement - PL/HQL ====== | + | ====== COPY FROM LOCAL Statement ====== |
COPY FROM LOCAL statement allows to copy local directories and files to Hadoop compatible file system. Using this statement you can easily copy subdirectories into HDFS i.e. | COPY FROM LOCAL statement allows to copy local directories and files to Hadoop compatible file system. Using this statement you can easily copy subdirectories into HDFS i.e. | ||
Line 13: | Line 13: | ||
IGNORE | IGNORE | ||
</code> | </code> | ||
+ | |||
+ | Return values: | ||
+ | |||
+ | | **HOSTCODE** | **Description** | | ||
+ | | 0 | Copy was successful | | ||
+ | | 1 | Copy failed | | ||
+ | | 2 | No files found | | ||
Notes: | Notes: | ||
Line 33: | Line 40: | ||
</code> | </code> | ||
- | **Compatibility:** PL/HQL Extension | + | **Compatibility:** HPL/SQL Extension |
- | **Version:** PL/HQL 0.3.7 | + | **Version:** HPL/SQL 0.3.7 |
See also: | See also: | ||
* [[copy|COPY]] | * [[copy|COPY]] |