tpch_tables_scale_1 / tpch-dbgen /column_split.sh
kunishou's picture
Upload 284 files
2eae90c verified
raw
history blame contribute delete
166 Bytes
#!/bin/bash
TABLE=$1
IFS="|"
while read line
do
set $line
count=1
while [ $# -gt 0 ]
do
echo $1 >> ${TABLE}$count
count=`expr $count + 1`
shift
done
done