xiangfu0 commented on code in PR #18872:
URL: https://github.com/apache/pinot/pull/18872#discussion_r3680148222
##########
pinot-core/src/main/java/org/apache/pinot/core/common/DataFetcher.java:
##########
@@ -416,6 +422,23 @@ void readBigDecimalValues(int[] docIds, int length,
BigDecimal[] valueBuffer) {
void readStringValues(int[] docIds, int length, String[] valueBuffer) {
Tracing.activeRecording().setInputDataType(_storedType, _singleValue);
ForwardIndexReaderContext readerContext = getReaderContext();
+ // A UUID column is stored as BYTES, so both paths below would render it
as hex -- the dictionary is a
+ // BytesDictionary whose getStringValue() is toHexString(). Render the
canonical form here, at the only layer
+ // that still knows the column's logical type, so every
getStringValuesSV() caller gets it right.
+ if (_dataType == DataType.UUID) {
Review Comment:
(placeholder-check)
--
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]