xiangfu0 opened a new pull request, #20279:
URL: https://github.com/apache/pinot/pull/20279

   ## Summary
   
   Make the realtime multi-value limit configurable per column. The default is 
1,000 values per row. Upgrade every consuming replica before setting an 
override.
   
   ## How to reproduce
   
   1. Create a realtime table with a multi-value `STRING` column. Add 
`"properties": {"maxNumMultiValues": "4096"}` to that column's 
`fieldConfigList` entry.
   2. Ingest a record containing 4,096 distinct values. Before the fix, Pinot 
rejects the record at 1,000 even with the override.
   
   ## Validation
   
   38 focused tests passed on JDK 25. 
`MutableSegmentImplNumMultiValuesValidationTest#testConfiguredMultiValueLimit` 
fails at 1,000 on the pre-fix code. With the fix, the test reads back all 4,096 
values and checks that 4,097 are rejected. Spotless, Checkstyle, and license 
checks passed.
   


-- 
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