Created
June 17, 2020 00:50
-
-
Save emersonbarros/646ef84493c2a775bd3e6e15c14fc571 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
for i in {1..10000000} | |
do | |
DATE=`date '+%Y-%m-%d %H:%M:%S'` | |
TEXT="TEXT VALUE" | |
#echo "Looping ... number $i" | |
echo "INSERT INTO test.bulk1 (partition, create_date, description, randon) VALUES (1, '$DATE', '$TEXT $RANDON', '$i');" >> result.txt | |
done | |
echo "exit;" >> result.txt | |
cat result.txt | ccm node1 cqlsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment