Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
flatten_operators
/
generate_query_files.sh
blob: 0ccbf2d66646356211d1a508fd48a217b4769a54 [
file
] [
log
] [
blame
]
i
=
0
;
while
read line
do
query
=
$line
if
[[
$query
==
select
*
]];
then
echo
"$query"
>
"filter$i.q"
echo
""
>
"filter$i.e_tsv"
i
=
`expr $i + 1`
now
=
$
(
date
+
"%T"
)
echo
"$i : completed at $now"
fi
done
<
filters
.
sql