Join Slack
Powered by
Is there any document about how to create the hybr...
# troubleshooting
w
Weixiang Sun
12/22/2021, 3:04 AM
Is there any document about how to create the hybrid table? I see the offline table should have the same name as realtime table. Why make such assumption? How about the hybrid table name and child table name? Should they be same also?
m
Mark Needham
12/22/2021, 9:52 AM
so my understanding is that hybrid is more of a conceptual thing that describes having a real-time and offline table with the same name. If you look at this file and then search for the names of the schema/table config you can see how to do it.
https://github.com/apache/pinot/blob/master/pinot-tools/src/main/java/org/apache/pinot/tools/HybridQuickstart.java
https://github.com/apache/pinot/blob/master/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_schema.json
https://github.com/apache/pinot/blob/master/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json
https://github.com/apache/pinot/blob/master/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_realtime_table_config.json
Mark Needham
12/22/2021, 9:53 AM
but I will add to my list that we need some docs on this
w
Weixiang Sun
12/22/2021, 6:22 PM
@Mark Needham
thanks a lot! Should the realtime table and offline table be in the same tenant?
m
Mark Needham
12/23/2021, 3:44 PM
yeh I think they should be in the same one
Open in Slack
Previous
Next