Hi Team , as part of my poc , I am trying to a loa...
# general
n
Hi Team , as part of my poc , I am trying to a load pinot table with data ( in which one of the i have considered as partition column)
And defined the table config like this -
But still it is creating only on segement, as per my knowledge based on the routing column, it should create segement accordingly.
Can anyone help on what I have missed here
x
Pinot creates one segment per file. If you have partition scheme, you need to prepartition the table into different files
n
Means one source file will Create one segment ...?
In that case , if my source files is not in proper way ( skewness , unequal distribution, lot of small file) then how pinot segment will be give good performance during query execution
x
It depends on the partition key. Usually users can over partition, then pinot can locate multiple partitions on same server for serving.
Each partition can have many segments for data splits if one partition is skewed
Pinot itself has a minion job, which you can configure to merge small segments later on after ingestion.
Those happened in background task
m
Side note, better to use Murmur and hashcode.
n
Ok thanks