uccross / skyhookdm-ceph-cls

Skyhook Data Management: Storage and management of tabular data in Ceph.
https://www.skyhookdm.com
GNU Lesser General Public License v2.1
13 stars 9 forks source link

test: add flatbuffer layout #28

Open michaelsevilla opened 6 years ago

michaelsevilla commented 6 years ago

Taken from uccross/skyhookdm-ceph#9.

# TESTS BELOW with Skyhookdb Flatbuf layout (2 objs)
bin/rados mkpool tpchflatbuf 

# NOTE: existing objs 1 and 6 stored as below contain 14 rows total
bin/rados mkpool tpchflatbuf;
yes | PATH=$PATH:bin ../src/progly/rados-store-glob.sh tpchflatbuf  /mnt/storage1/tpchdata/flabuffer_test_objs/skyhookdb.testdb.lineitem.oid.*

# CHECK DATA OBJECTS
bin/rados df  # should see tpchflatbuf pool with our 2 objs

# TEST QUERY “FLATBUF” NO CLS
# selectivity=100%
# expect “total result row count: 14 / 14; nrows_processed=14"
bin/run-query --num-objs 2 --pool tpchflatbuf --wthreads 10 --qdepth 10 --quiet --query flatbuf 

# TEST QUERY “FLATBUF” WITH CLS
# selectivity=100%
# expect “total result row count: 14 / 14; nrows_processed=14"
bin/run-query --num-objs 2 --pool tpchflatbuf --wthreads 10 --qdepth 10 --quiet --query flatbuf --use-cls
michaelsevilla commented 6 years ago

Also related to uccross/skyhookdm-ceph#9.