gortiz commented on code in PR #11484: URL: https://github.com/apache/pinot/pull/11484#discussion_r1313119263
########## pinot-query-planner/src/main/java/org/apache/pinot/query/validate/Validator.java: ########## @@ -124,4 +129,19 @@ private static String getColumnName(SqlIdentifier identifier) { List<String> names = identifier.names; return names.get(names.size() - 1); } + + protected void addToSelectList( + List<SqlNode> list, + Set<String> aliases, + List<Map.Entry<String, RelDataType>> fieldList, + SqlNode exp, + SelectScope scope, + final boolean includeSystemVars) { + if (exp.getKind() == SqlKind.IDENTIFIER) { + if ((((SqlIdentifier) exp).names).stream().anyMatch(s -> s.startsWith("$"))) { Review Comment: I'm not sure if this would match all the cases we want to ignore @Jackie-Jiang @xiangfu0. This method is called once for each field in the calcite table row. -- 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