private void validateGroupByItem ( SqlSelect select , SqlNode groupByItem ) { final SqlValidatorScope groupByScope = getGroupScope ( select ) ; groupByScope . validateExpr ( groupByItem ) ; }
Validates an item in the GROUP BY clause of a SELECT statement .