Feature Request: GROUP_CONCAT

34 views
Skip to first unread message

Jaka Jancar

unread,
Feb 23, 2011, 7:52:27 PM2/23/11
to BigQuery discuss
An aggregate function that concatenates the values in the group

Jaka Jancar

unread,
Mar 2, 2011, 4:53:35 PM3/2/11
to BigQuery discuss
Let me explain why we would need this:

We have a pageviews table with columns: (timestamp, visit, page). We
would like to generate report on the most common "user flows", based
on the first 4 pages, to return rows like ("home, gallery, home,
news", 50000), e.g. using:

SELECT GROUP_CONCAT(page ORDER BY timestamp LIMIT 4) flow, COUNT(*)
FROM [table] GROUP BY flow;

Is there another way of achieving this with BigQuery?

Jaka Jancar

unread,
Apr 4, 2011, 9:04:29 PM4/4/11
to BigQuery discuss
Hi!

Any update on this request or suggestion about how we could work
around this?

Best,
Jaka
Reply all
Reply to author
Forward
0 new messages