I am facing one issue , may be i am missing the co...
# troubleshooting
j
I am facing one issue , may be i am missing the config, can anyone suggest? when
RealtimeToOfflineSegmentsTask
triggered to move the data from realtime to offline but this data is not deleted from realtime table actually we have overlapping segments , not sure what config i am missing so that once data is moved then realtime segments should be removed from realtime table
@Mayank @Neha Pawar any suggestions?
when i ran this query only realtime segments are coming
Copy code
select $segmentName, count(*) from marketplace_supply_demand
group by $segmentName
k
It won’t remove from real-time immediately.. it will be removed after the retention period
j
@Kishore G let me explain, please correct my understanding 1. I created schema on pinot 2. I created Offline table mentioning the schema 3. I created realtime table and ingestion started 4. I ran count(*) on table through trino its working fine, till now
RealtimeToOfflineSegmentsTask
is not triggered, data is coming from realtime table, offline table is empty 5. when
RealtimeToOfflineSegmentsTask
triggered it pushed the segment to offline table 6. When i query from trino it failed with
INVALID BAD REQUESTS
7. Now when i run the count() query from pinot console it only gives records from realtime table, i am running `select count() from marketplace_supply_demand` 8. my expectation is it will count records from both offline and online table 9. I check
tableConfigs
api it returns both realtime and offline block. 10. I checked table boundary in broker, its of day before yesterday like
02-March-2025: 12:00:00 AM
11. Now my assumption is if i will run count(*) on table as i have data from 28-feb-2025 till today, query should be splitted in two parts one will go to offline based on table boundary and one will go to realtime. but only realtime count is coming? What i am missing please let me know
m
How do you know the count is coming only from real-time? Can you check logs to see how the query spanned
j
Pinot is working as expected, trino pinot connector is having issues, raised in trino community