xiangfu0 commented on code in PR #18411:
URL: https://github.com/apache/pinot/pull/18411#discussion_r3185146159


##########
pinot-tools/src/main/resources/examples/stream/fineFoodReviews_part_1/fineFoodReviews_part_1_realtime_table_config.json:
##########
@@ -2,14 +2,18 @@
   "tableName": "fineFoodReviews_part_1",
   "tableType": "REALTIME",
   "segmentsConfig": {
-    "segmentPushType": "APPEND",
     "timeColumnName": "ts",
     "retentionTimeUnit": "DAYS",
     "retentionTimeValue": "5",
     "replication": "1"
   },
   "tenants": {
   },
+  "segmentAssignmentConfigMap": {
+    "REALTIME": {
+      "segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy"
+    }
+  },

Review Comment:
   Fixed in 19423f1e20 — changed the key from `REALTIME` to `COMPLETED` to 
match the assignment-type convention (`SegmentAssignmentStrategyFactory` looks 
it up via `assignmentType.toUpperCase()`).



##########
pinot-tools/src/main/resources/examples/stream/dailySales/dailySales_realtime_table_config.json:
##########
@@ -2,14 +2,18 @@
   "tableName": "dailySales",
   "tableType": "REALTIME",
   "segmentsConfig": {
-    "segmentPushType": "APPEND",
     "timeColumnName": "daysSinceEpoch",
     "retentionTimeUnit": "DAYS",
     "retentionTimeValue": "50000",
     "replication": "1"
   },
   "tenants": {
   },
+  "segmentAssignmentConfigMap": {
+    "REALTIME": {
+      "segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy"
+    }
+  },

Review Comment:
   Fixed in 19423f1e20 — changed the key from `REALTIME` to `COMPLETED` to 
match the assignment-type convention (`SegmentAssignmentStrategyFactory` looks 
it up via `assignmentType.toUpperCase()`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to