Skip to main content

A Python Script to build a athena create table from csv file

Project description

https://badge.fury.io/py/csv2athena_schema.png https://travis-ci.org/yuokada/csv2athena_schema.png?branch=master https://pypip.in/d/csv2athena_schema/badge.png

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csv2athena_schema-0.1.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page