Adding remark.

This commit is contained in:
Daniel Lemire 2018-12-12 12:10:23 -05:00
parent e1d6169122
commit 1dad5d49a6
1 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,17 @@
#include "benchmark.h"
/*************
// Sinew: A SQL System for Multi-Structured Data
* 1 SELECT DISTINCT user.id FROM tweets;
2 SELECT SUM(retweet count) FROM tweets
GROUP BY user.id;
3 SELECT user.id FROM tweets t1, deletes d1, deletes d2
WHERE t1.id str = d1.delete.status.id str AND d1.delete.status.user id = d2.delete.status.user id AND t1.user.lang = msa;
4 SELECT t1.user.screen name, t2.user.screen name FROM tweets t1, tweets t2, tweets t3 WHEREt1.user.screen name=t3.user.screen nameAND t1.user.screen name = t2.in reply to screen name AND t2.user.screen name = t3.in reply to screen name;
*********************/
// #define RAPIDJSON_SSE2 // bad for performance
// #define RAPIDJSON_SSE42 // bad for performance
#include "rapidjson/document.h"