1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-10-27 01:59:56 +00:00

Add test cases

This commit is contained in:
Colin Dellow
2018-03-10 13:25:13 -05:00
parent b7c134efc0
commit 96fcafcd2f
37 changed files with 139 additions and 11 deletions

View File

@@ -15,7 +15,8 @@ run_query() {
CREATE VIRTUAL TABLE nulls USING parquet('$root/parquet-generator/100-rows-nulls.parquet');
CREATE VIRTUAL TABLE no_nulls1 USING parquet('$root/parquet-generator/100-rows-1.parquet');
CREATE VIRTUAL TABLE no_nulls2 USING parquet('$root/parquet-generator/100-rows-10.parquet');
$query
$query;
.output
EOF
}
@@ -39,6 +40,7 @@ main() {
fi
if [ "$(cat testcases.txt | wc -l)" == "1" ]; then
set -x
gdb -ex run --args "$root"/sqlite/sqlite3 -init testcase-cmds.txt
else
while read -r file; do