Skip to content

Instantly share code, notes, and snippets.

@a2ndrade
Created June 20, 2017 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a2ndrade/7af451f7c175022890074cede7dabb92 to your computer and use it in GitHub Desktop.
Save a2ndrade/7af451f7c175022890074cede7dabb92 to your computer and use it in GitHub Desktop.
w:"I"$first .z.x
c:{[w]
warehouse:w*9;
stock:100000*18;
item:100000*5;
region:5*3;
supplier:10000*7;
nation:25*4;
orderline:w*300000*10;
neworder:w*9000*3;
district:w*10*11;
history:w*30000*8;
customer:w*30000*21;
order:w*30000*8;
:warehouse+stock+item+region+supplier+nation+orderline+neworder+district+history+customer+order}
\c 20 300
0N!"W=",(first .z.x)," contains at least ",(-3!c w), " [cockroach/rocksdb/leveldb/cassandra/riak]-equivalent keys-value records";
\\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment