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

More tests

This commit is contained in:
Colin Dellow
2018-03-07 20:30:25 -05:00
parent 35fcde926c
commit 2d616c54fb
7 changed files with 326 additions and 1 deletions

10
tests/create-query Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail
query=${1:?must provide query}
echo "$query"
psql parquet postgres <<EOF
COPY ($query) TO STDOUT WITH (DELIMITER '|', NULL '');
EOF