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 details)

Uploaded Source

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

Hashes for csv2athena_schema-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f22595168c8f9ccdc7f61a68bb1be2e0c20bfb1ed1a8e9389cbf0d04170693a
MD5 b883458bb2f3407f2034080954b13be1
BLAKE2b-256 43e41975addb7ab6cf6d1fb081499077fa3b82b725391ba99e99775760a0ce33

See more details on using hashes here.

Supported by

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