if (ColumnType.DATE.equals(columnType)) {
if (GroupStrategy.FIXED.equals(strategy)) return intervalBuilderFixedDate;
if (GroupStrategy.DYNAMIC.equals(strategy)) return intervalBuilderDynamicDate;
return intervalBuilderDynamicDate;
}
<BUG>if (ColumnType.NUMBER.equals(columnType)) {
}</BUG>
if (ColumnType.TEXT.equals(columnType)) {
throw new IllegalArgumentException("TEXT columns do not support grouping.");
}

if (ColumnType.DATE.equals(columnType)) {
if (GroupStrategy.FIXED.equals(strategy)) return intervalBuilderFixedDate;
if (GroupStrategy.DYNAMIC.equals(strategy)) return intervalBuilderDynamicDate;
return intervalBuilderDynamicDate;
}
if (ColumnType.NUMBER.equals(columnType)) {
return intervalBuilderDynamicLabel;
}
if (ColumnType.TEXT.equals(columnType)) {
throw new IllegalArgumentException("TEXT columns do not support grouping.");
}
