1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-12 22:29:58 +00:00

All-in-one build command

`./make-linux` clones and builds:

- arrow
- brotli
- lz4
- parquet
- snappy
- zlib
- zstd
- this project

as a statically linked binary. Two Boost libs are still pulled in as
shared libs, should probably fix that, too, for ultimate portability.
This commit is contained in:
Colin Dellow
2018-06-24 21:11:07 -04:00
parent ec6e970bbc
commit 0bdcc9895e
11 changed files with 199 additions and 77 deletions

View File

@@ -9,7 +9,7 @@ load_supported() {
basename=$(basename "$file")
cat <<EOF
.echo on
.load parquet/libparquet
.load build/linux/libparquet
.testcase $basename
.bail on
CREATE VIRTUAL TABLE test USING parquet('$file');
@@ -23,7 +23,7 @@ main() {
root=$(readlink -f "$root")
cd "$root"
supported_files=$(find . -type f -name '*.parquet' -not -name 'unsupported*.parquet')
supported_files=$(find ./parquet-generator/ -type f -name '*.parquet' -not -name 'unsupported*.parquet')
while read -r supported; do
echo "Testing: $supported"
if ! "$root"/sqlite/sqlite3 -init <(load_supported "$supported") < /dev/null > /dev/null 2> testcase-stderr.txt; then