diff --git a/parquet/cmds.txt b/parquet/cmds.txt deleted file mode 100644 index 5db014f..0000000 --- a/parquet/cmds.txt +++ /dev/null @@ -1,25 +0,0 @@ -.load ./libparquet -.headers on ---select 'creating without enough args'; ---create virtual table noargs using parquet; - ---select 'creating with invalid file'; ---create virtual table nonexistent using parquet('nonexistent'); - ---select 'creating others'; ---create virtual table others using parquet('/home/cldellow/src/parquet-vtable/parquet/others.parquet'); ---select * from others limit 1; - ---select 'creating with valid file'; -create virtual table parquet using parquet('/home/cldellow/src/csv2parquet/12m.parquet.snappy'); -.tables -.timer on -.echo on ---select count(*) from (select * from parquet limit 1); ---select rowid,col0,col3,col9 from parquet where rowid > 5 limit 5; ---select count(*) from parquet limit 1; ---select sum(col0) from parquet limit 1; ---select * from parquet limit 10; ---select sum(length(col3)) from parquet; -select * from parquet where rowid = 123 or (col3 = 'Dawson Creeks') or col9 LIKE '%Bicycqq%' limit 20000; -select * from parquet limit 1; diff --git a/parquet/go b/parquet/go deleted file mode 100755 index b6f4088..0000000 --- a/parquet/go +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -cd "$(dirname ${BASH_SOURCE[0]})" -make - - -if [ ! -v DEBUG ]; then - ../sqlite/sqlite3 -init ./cmds.txt < /dev/null -else - gdb -ex run --args ../sqlite/sqlite3 -init ./cmds.txt -fi - diff --git a/parquet/.gitignore b/src/.gitignore similarity index 100% rename from parquet/.gitignore rename to src/.gitignore diff --git a/parquet/parquet.cc b/src/parquet.cc similarity index 100% rename from parquet/parquet.cc rename to src/parquet.cc diff --git a/parquet/parquet_cursor.cc b/src/parquet_cursor.cc similarity index 100% rename from parquet/parquet_cursor.cc rename to src/parquet_cursor.cc diff --git a/parquet/parquet_cursor.h b/src/parquet_cursor.h similarity index 100% rename from parquet/parquet_cursor.h rename to src/parquet_cursor.h diff --git a/parquet/parquet_filter.cc b/src/parquet_filter.cc similarity index 100% rename from parquet/parquet_filter.cc rename to src/parquet_filter.cc diff --git a/parquet/parquet_filter.h b/src/parquet_filter.h similarity index 100% rename from parquet/parquet_filter.h rename to src/parquet_filter.h diff --git a/parquet/parquet_table.cc b/src/parquet_table.cc similarity index 100% rename from parquet/parquet_table.cc rename to src/parquet_table.cc diff --git a/parquet/parquet_table.h b/src/parquet_table.h similarity index 100% rename from parquet/parquet_table.h rename to src/parquet_table.h