* of the query, only prepare() updates that. but prepare does
* reset() implicitly, so if we re-prepared the query, the previous
* parameter set cannot be used.
*/
long ms = System.currentTimeMillis();
query.prepare("select dim1, charDim1, SUM(impCnt) as ?, COUNT(impCnt) as ?, SUM(click) as clickSum, "
+ "COUNT(click) as clickCnt, cannyAvg7d(clickTimeSeries) as ctr " +
"from Example1 where impressionTime in [?,?), dim1 in [?] " + "group by dim1, charDim1");
System.out.printf("query prepared in %d ms\n", System.currentTimeMillis() - ms);