summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/build.sh
blob: caa074945eaec09eb938f6cec24ff3a905fe70cf (plain)
1
2
3
4
5
6
#!/bin/bash
CQLSH=/Volumes/Data/apache-cassandra-2.1.14/bin/cqlsh
DIR=.
for T in ns perm role user_role cred config; do
  $CQLSH -e  "COPY authz.$T TO '$DIR/$T.dat' WITH DELIMITER='|'"
done