Pinot Version | 1.0.0 |
---|---|
Code | startreedata/pinot-recipes/merge-small-segments |
segmentsConfig.timeColumnName
, otherwise the merge process won’t merge any segments.MergeRollupTask
, which is extracted below:
-arm64
suffix if you’re not using a Mac M1/M2.
matches
table is going to bucket records from a 1 day period into the same bucket. Since our events all happened on the same day, we would expect that all records will be merge into a single segment.
We can run the merge rollup task by running the following:
$segmentName | loser | matchTime | round | score | winner |
---|---|---|---|---|---|
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Salvatore Caruso | 2022-01-17 11:00:00.0 | R128 | 6-4 6-2 6-1 | Miomir Kecmanovic |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Mikhail Kukushkin | 2022-01-17 11:10:00.0 | R128 | 6-3 6-4 6-2 | Tommy Paul |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Chun Hsin Tseng | 2022-01-17 12:00:00.0 | R128 | 6-4 6-3 6-2 | Oscar Otte |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Sam Querrey | 2022-01-17 13:14:00.0 | R128 | 7-5 6-3 6-3 | Lorenzo Sonego |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Federico Coria | 2022-01-17 15:32:00.0 | R128 | 6-1 6-1 6-3 | Gael Monfils |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Cameron Norrie | 2022-01-17 11:10:00.0 | R128 | 6-3 6-0 6-4 | Sebastian Korda |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Lucas Pouille | 2022-01-17 11:03:00.0 | R128 | 3-6 6-3 6-4 6-3 | Corentin Moutet |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Fabio Fognini | 2022-01-17 13:08:00.0 | R128 | 6-1 6-4 6-4 | Tallon Griekspoor |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Tomas Martin Etcheverry | 2022-01-17 18:14:00.0 | R128 | 6-1 6-2 7-6(2) | Pablo Carreno Busta |
merged_1day_1680183805991_0_matches_1642417200000_1642443240000_0 | Alejandro Tabilo | 2022-01-17 16:51:00.0 | R128 | 6-2 6-2 6-3 | Carlos Alcaraz |