Last active
February 25, 2020 22:58
-
-
Save belenaj/97f46ab64e9eda79eda6cf7e0d309c57 to your computer and use it in GitHub Desktop.
#exasol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IMPORT INTO mytable | |
| FROM LOCAL SECURE CSV | |
| FILE /file.csv | |
| (1, 2 FORMAT = 'YYYY-MM-DD', 3..12) | |
| ENCODING = 'ASCII' | |
| ROW SEPARATOR = 'LF' | |
| SKIP = 1; | |
| COMMIT; | |
| -- file in s3 | |
| IMPORT INTO mytable | |
| FROM CSV | |
| at S3_CONN | |
| file 'testbucket/file.csv' | |
| IMPORT INTO mytable FROM CSV AT 'https://testbucket.s3.amazonaws.com' | |
| USER '<key-ID>' IDENTIFIED BY '<secret-key>' -- user/password | |
| FILE 'testpath/test.csv'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment