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

   Fix a bug where dimension tables with a `BYTES` primary key column can never 
be looked up.
   
   **Root cause**: `DimensionTableDataManager` stores raw `byte[]` in the 
`Object[]` key array, but `byte[]` inherits identity-based `hashCode`/`equals` 
from `Object`. The probe side (`LookupTransformFunction`) correctly wraps the 
value in `ByteArray` (content-based), but it never matches the stored `byte[]`.
   
   **Fix**: Wrap `byte[]` values as `ByteArray` in both 
`createFastLookupDimensionTable` and the memory-optimized path, so the stored 
key has content-based equality.
   
   Fixes #19228


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