Hi Team, I want to ask query regarding our usecase...
# troubleshooting
r
Hi Team, I want to ask query regarding our usecase and how can we implement it: We want to have Hybrid Table with some records in RealTime and some records in Offline table. In these tables we have upserted data, for Realtime, it is being handled using upsert config, but in Offline table we are handling Upsert at processing level before ingesting the data into S3 bucket. For Offline Table, we want to truncate the data of the table and add the table data again. What is the recommended approach for this usecase? is there any feature in Pinot that can help us or any other workarounds that we have to take. @Xiang Fu @Mayank
m
Upsert feature only works in Realtime as of now. Any specific reason you need hybrid setup here?
r
With Hybrid table we want it to handle data storage of 3 months. As in Realtime 3 months data will be very large and we will have to increase the server memory. with Hybrid Table we will divide data based on time (eg: we will store 7 day records in Online Table and further records(with upsert handled and other processing done) will be stored in Offline Table). we will make sure that none of the records gets overlaped using KSQL in Online Record for not considering the records past 7 days in topic.