Hi all I have a 6 GB file that i am ingesting int...
# troubleshooting
s
Hi all I have a 6 GB file that i am ingesting into my offline table that i have partitioned into 500MB files each . However when i push the data into the tables only a single segment is created.Shouldn't each file create one segment?
m
Hmm, it should be 1-1. How are you generating segments?
r
Can you share the script for ingesting the data ?
s
I had set the following property in my table confg file and ingested the data
"segmentsConfig" : {
"replication" : "1",
"schemaName" : "test2",
"timeColumnName": "eventtime",
"timeType": "MILLISECONDS",
"segmentPushType": "APPEND",
"segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy"
},
I had first tested the ingestion for two small files of around 250 MB each .In that case all the data got pushed into a single segment. On the second run I had removed the following property
"segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy"
and then pushed 12 files each of 500MB.In this case each file was pushed as a single segment. So did the second run work because of removing the property(isn't this property used for balanced distribution of segments to servers) or was it because pinot internally has a segment size limit
p
Are you accidentally using same name fir all segments?