Skip to content

Commit 868caa4

Browse files
mofojedmattrunyon
andauthored
fix: Exports needed for ui.table aggregations (#2385) (#2421)
Need to export the aggregation operations so dh.ui can convert to the proper case for available aggregations. The JS API is case sensitive and expects `Sum` or `CountDistinct` not `count` or `COUNT` Co-authored-by: Matthew Runyon <matthewrunyon@deephaven.io>
1 parent b5a0a9d commit 868caa4

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/iris-grid/src/sidebar/aggregations/AggregationUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const getOperationColumnNames = (
102102
.filter(name => (selected.includes(name) ? !invert : invert));
103103

104104
export default {
105+
isValidOperation,
105106
isRollupOperation,
106107
isRollupProhibited,
107108
filterValidColumns,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
export * from './Aggregations';
2+
export { default as AggregationOperation } from './AggregationOperation';
3+
export { default as AggregationUtils } from './AggregationUtils';

0 commit comments

Comments
 (0)