You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/03/28 16:20:49 UTC
[GitHub] [pinot] walterddr opened a new issue #8424: CAST used with GROUP BY causes weird exception
walterddr opened a new issue #8424:
URL: https://github.com/apache/pinot/issues/8424
```
select
playerID,
cast(hits as long) AS totalHits
from baseballStats
order by totalHits DESC
```
works fine.
```
select
playerID,
cast(count(hits) as long) AS totalHits
from baseballStats
group by playerID
order by totalHits DESC
```
gives
```
[
{
"message": "QueryExecutionError:\nProcessingException(errorCode:450, message:InternalError:\njava.lang.NullPointerException\n\tat org.apache.pinot.core.operator.combine.GroupByOrderByCombineOperator.mergeResults(GroupByOrderByCombineOperator.java:236)\n\tat org.apache.pinot.core.operator.combine.BaseCombineOperator.getNextBlock(BaseCombineOperator.java:119)\n\tat org.apache.pinot.core.operator.combine.BaseCombineOperator.getNextBlock(BaseCombineOperator.java:50)",
"errorCode": 200
}
]
```
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [pinot] Jackie-Jiang commented on issue #8424: CAST after expression causes weird exception
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #8424:
URL: https://github.com/apache/pinot/issues/8424#issuecomment-1082322894
We need to add the `ScalarFunction` version of the `CAST` function
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org