Skip to content

Commit

Permalink
Fix agg.py imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbooker42 committed Nov 7, 2024
1 parent a4e320a commit da008ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,10 @@ public void propagateUpdates(@NotNull final TableUpdate downstream,
if (removesToProcess && !resultColumn.getType().isPrimitive()) {
dataCopyContext.clearObjectColumnData(downstream.removed());
}
if (modifiesToProcess && addsToProcess) {
// Union the rowsets and do a single pass for efficiency.
try (final RowSequence combinedRowSequence = downstream.modified().union(downstream.added())) {
dataCopyContext.copyData(combinedRowSequence);
}
} else if (modifiesToProcess) {
if (modifiesToProcess) {
dataCopyContext.copyData(downstream.modified());
} else {
}
if (addsToProcess) {
dataCopyContext.copyData(downstream.added());
}
}
Expand Down
2 changes: 1 addition & 1 deletion py/client/pydeephaven/agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import List, Union, Any
from typing import List, Union, Any, Optional

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion py/server/deephaven/agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
"""This module implement various aggregations that can be used in deephaven table's aggregation operations."""

from typing import List, Union, Any
from typing import List, Union, Any, Optional

import jpy

Expand Down

0 comments on commit da008ce

Please sign in to comment.