Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

yuokada/csv2athena_schema

Repository files navigation

csv2athena_schema

image

image

image

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

Update requirements.txt

$ poetry export -o requirements.txt --without-hashes

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.

Athena

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published