Jackie-Jiang commented on a change in pull request #7959: URL: https://github.com/apache/pinot/pull/7959#discussion_r796902219
########## File path: pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java ########## @@ -1459,8 +1460,18 @@ static void updateColumnNames(String rawTableName, PinotQuery pinotQuery, boolea Map<String, String> columnNameMap) { Map<String, String> aliasMap = new HashMap<>(); if (pinotQuery != null) { + boolean hasStar = false; for (Expression expression : pinotQuery.getSelectList()) { fixColumnName(rawTableName, expression, columnNameMap, aliasMap, isCaseInsensitive); + //check if the select expression is '*' + if (!hasStar && expression.isSetIdentifier() && expression.getIdentifier().getName() + .equals("*")) { Review comment: (minor) ```suggestion if (!hasStar && expression.equals(STAR)) { ``` -- 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