Instantly share code, notes, and snippets.

Embed
What would you like to do?
time (for filename in /home/clemens/Dropbox/nyc-taxi-data-denormalized/trips_x*.csv.gz; do
gunzip -c $filename | \
python trans.py | \
clickhouse-client \
--query="INSERT INTO trips FORMAT CSV"
done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment