A Python Script to build a athena create table from csv file
Project description
A Python Script to build a athena create table from csv file
Features
TODO
Install & Setup
$ git clone https://github.com/yuokada/csv2athena_schema.git
$ pip3 install -r requirements.txt
Execute script
$ python3 scripts/csv2athena_schema.py \
--table-properties skip.header.line.count=1 has_encrypted_data=false \
--schema your_schema \
--location 's3://your_bucket/path_to_csv'
/path/to/your.csv
Requirements
Python >= 3.5
License
MIT licensed. See the bundled LICENSE file for more details.
Link
Athena
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file csv2athena_schema-0.1.1.tar.gz.
File metadata
- Download URL: csv2athena_schema-0.1.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f22595168c8f9ccdc7f61a68bb1be2e0c20bfb1ed1a8e9389cbf0d04170693a
|
|
| MD5 |
b883458bb2f3407f2034080954b13be1
|
|
| BLAKE2b-256 |
43e41975addb7ab6cf6d1fb081499077fa3b82b725391ba99e99775760a0ce33
|