From 1dad5d49a65b0621e73f0de78f0a270c35eb4e47 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Wed, 12 Dec 2018 12:10:23 -0500 Subject: [PATCH] Adding remark. --- benchmark/parseandstatcompetition.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/benchmark/parseandstatcompetition.cpp b/benchmark/parseandstatcompetition.cpp index 33e11507..2c54cac9 100644 --- a/benchmark/parseandstatcompetition.cpp +++ b/benchmark/parseandstatcompetition.cpp @@ -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 name”AND 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"