Hi everyone, I am stuck in a data problem. Please...
# support
g
Hi everyone, I am stuck in a data problem. Please let me know if anyone can help me out. Currently we are pulling mixpanel events & then sending to redshift. But the problem is I am able to send individual events data to redshift & if I have to use multiple tables together then combining those in redshift is very costly. So I was trying to check if we can combine mulltiple events or all events from mixpanel & then send it to redshift as a flat table
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Sagar so you are using mixpanel and a source and sending data to Redshift. So how are you thinking of combining the data are you thinking of combining the events from across tables for a single user? Or do you want to combine data across these tables ? Or combine all the events for one table and send?
You could use a batch transform to combine the events in a batch and return an array with a single event. https://github.com/rudderlabs/sample-user-transformers#batch
g
Hi Ranganath, Currently we are using mixpanel & sending event data to rudderstack. From rudderstack we are sending to redshift. But the problem is that we are able to send single table for each event. I want to combine multiple events or create a flat table in rudderstack & then send it as a single table in redshift
m
So suppose you have setup to send the below 3 tables to Redshift. So say you have - Revenue -> 10 events (Events belong to customers a, b, c, d) - Engage -> 5 events (Events belong to customer a, b, c) - Funnels -> 3 events (Events belong to customer a, b) Now each of these 18 events belong to the 4 customers. So how are you thinking of combining these events?