Skip to content

Commit e6dd3e1

Browse files
authored
fix: Load full uncoalesced table if no partition columns available (#1767)
- When there are no partition columns, we should just load the whole table instead of hanging - Tested with the snippet in the ticket - Fixes #1763
1 parent 1f47a8d commit e6dd3e1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/iris-grid/src/IrisGridTableModel.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,11 @@ class IrisGridTableModel
285285
}
286286

287287
get isPartitionRequired(): boolean {
288-
return this.table.isUncoalesced && this.isValuesTableAvailable;
288+
return (
289+
this.table.isUncoalesced &&
290+
this.isValuesTableAvailable &&
291+
this.partitionColumns.length > 0
292+
);
289293
}
290294

291295
isFilterable(columnIndex: ModelIndex): boolean {

0 commit comments

Comments
 (0)