private boolean isRolledUpColumn ( SqlIdentifier identifier , SqlValidatorScope scope ) { Pair < String , String > pair = findTableColumnPair ( identifier , scope ) ; if ( pair == null ) { return false ; } String tableAlias = pair . left ; String columnName = pair . right ; Table table = findTable ( tableAlias ) ; if ( table != null ) { return table . isRolledUp ( columnName ) ; } return false ; }
Returns true iff the given column is actually rolled up .