richardstartin opened a new pull request #7948:
URL: https://github.com/apache/pinot/pull/7948


   This selects the wrong overload so we lose the stack trace e.g. 
   
   ```
   Caught exception while processing query: 
QueryContext{_tableName='ads_metrics_REALTIME', _selectExpressions=[listing_id, 
sum(click_count), sum(impression_count), sum(cost), sum(order_count), 
sum(revenue)], _aliasList=[null, null, null, null, null, null], 
_filter=(shop_id = '25746445' AND serve_time BETWEEN '1637125200' AND 
'1639717199'), _groupByExpressions=[listing_id], _havingFilter=null, 
_orderByExpressions=null, _limit=6000, _offset=0, 
_queryOptions={responseFormat=sql, groupByMode=sql, timeoutMs=9999}, 
_debugOptions=null, 
_brokerRequest=BrokerRequest(querySource:QuerySource(tableName:ads_metrics_REALTIME),
 pinotQuery:PinotQuery(dataSource:DataSource(tableName:ads_metrics_REALTIME), 
selectList:[Expression(type:IDENTIFIER, 
identifier:Identifier(name:listing_id)), Expression(type:FUNCTION, 
functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, 
identifier:Identifier(name:click_count))])), Expression(type:FUNCTION, 
functionCall:Function(operator:SUM, operands:[E
 xpression(type:IDENTIFIER, identifier:Identifier(name:impression_count))])), 
Expression(type:FUNCTION, functionCall:Function(operator:SUM, 
operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:cost))])), 
Expression(type:FUNCTION, functionCall:Function(operator:SUM, 
operands:[Expression(type:IDENTIFIER, 
identifier:Identifier(name:order_count))])), Expression(type:FUNCTION, 
functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, 
identifier:Identifier(name:revenue))]))], 
filterExpression:Expression(type:FUNCTION, functionCall:Function(operator:AND, 
operands:[Expression(type:FUNCTION, functionCall:Function(operator:EQUALS, 
operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:shop_id)), 
Expression(type:LITERAL, literal:<Literal longValue:25746445>)])), 
Expression(type:FUNCTION, functionCall:Function(operator:BETWEEN, 
operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:serve_time)), 
Expression(type:LITERAL, literal:<Literal longValue:1
 637125200>), Expression(type:LITERAL, literal:<Literal 
longValue:1639717199>)]))])), groupByList:[Expression(type:IDENTIFIER, 
identifier:Identifier(name:listing_id))], orderByList:[], limit:6000, 
queryOptions:{responseFormat=sql, groupByMode=sql, timeoutMs=9999}))}
   java.lang.ArrayIndexOutOfBoundsException: null
   ```


-- 
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-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to