[fix](Nereids) forbid unexpected expression on filter and fix two more bugs (#20331)
fix below bugs: 1. not check filter's expression, aggregate function, grouping scalar function and window expression should not appear in filter 2. show not change nullable of aggregate function when it is window function in window expression 3. bitmap and other metric types should not appear in order by or partition by of window expression
This commit is contained in:
@ -446,7 +446,7 @@ public abstract class Type {
|
||||
|
||||
public static final String OnlyMetricTypeErrorMsg =
|
||||
"Doris hll, bitmap, array, map, struct, jsonb column must use with specific function, and don't"
|
||||
+ " support filter or group by. please run 'help hll' or 'help bitmap' or 'help array'"
|
||||
+ " support filter, group by or order by. please run 'help hll' or 'help bitmap' or 'help array'"
|
||||
+ " or 'help map' or 'help struct' or 'help jsonb' in your mysql client.";
|
||||
|
||||
public boolean isHllType() {
|
||||
|
||||
Reference in New Issue
Block a user