On Mon, May 07, 2007 at 19:20:49 +0400, Tomash Brechko wrote: > But with SQLite 3.x there is only one user data pointer per user > defined aggregate function, so no parallel aggregate execution is > possible.
Ah, I was too fast again :/. GROUP BY is really two-pass, but my understanding why it is so was wrong. Then, why not to call aggregate function the very moment we decided which bucket the row will go to? -- Tomash Brechko ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------