Skip to content

Commit

Permalink
Better worded error for popup message, spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Nov 14, 2023
1 parent 626c75c commit 457a437
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,9 @@ public Promise<JsPartitionedTable> partitionBy(Object keys, @JsOptional Boolean
@JsMethod
public Promise<JsColumnStatistics> getColumnStatistics(Column column) {
if (column.getDescription() != null && column.getDescription().startsWith("Preview of type")) {
// TODO (deephaven-core#188) Remove this workaround when we don't preview columns until just before subscription
return Promise.reject("Can't produce column stats for preview column");
// TODO (deephaven-core#188) Remove this workaround when we don't preview columns until just before
// subscription
return Promise.reject("Can't produce column statistics for preview column");
}
List<Runnable> toRelease = new ArrayList<>();
return workerConnection.newState((c, state, metadata) -> {
Expand Down

0 comments on commit 457a437

Please sign in to comment.