Last active
November 15, 2020 09:07
-
-
Save Yengas/6251433a4cade2829e4a0c07308ebd5c to your computer and use it in GitHub Desktop.
Cassandra CSV import with GZIP compression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (echo "COPY flat.data (metric, resource, domain, timestamp, longvalue, doublevalue, textvalue) FROM STDIN;"; \ | |
| gzip -dc flat-data-*.csv.gz;) | cqlsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment