KazukiKandaKK commented on issue #19603:
URL: https://github.com/apache/pinot/issues/19603#issuecomment-5757638404

   Confirming this also reproduces on a non-date STRING column, not just the 
`EventDate` example. Hit while running the standard ClickBench query set 
against Pinot 1.5.1:
   
   ```
   SELECT SearchPhrase, MIN(URL), COUNT(*) AS c FROM hits
   WHERE URL LIKE '%google%' AND SearchPhrase <> ''
   GROUP BY SearchPhrase ORDER BY c DESC LIMIT 10
   ```
   
   ```
   QueryException: Caught exception while doing operator: class 
org.apache.pinot.core.operator.query.GroupByOperator: For input string: 
"http://liver.ru/mymail.aspx?sort=price_ot=&price/4000%26ar_sliceid%3D158197%26GOOGLE";
   Caused by: java.lang.NumberFormatException
   ```
   
   `URL` is a regular STRING dimension (not a `dateTimeFieldSpec`). Same 
exception class as above; the group-by path is a different operator 
(`MinAggregationFunction.aggregateSVGroupBySV` → 
`StringDictionary.readDoubleValues` → `Double.parseDouble`) than the 
`NonScanBasedAggregationOperator` stack in the original report, but it still 
treats the STRING column as numeric.
   


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