Commit 327bcb6
fix: Change display of rollup key columns from null to empty string (#1563)
* Previously, key columns containing non-numeric types would display
`null` is the rolled up rows have different values for the same column
* This behaviour is updated to show an empty cell instead of `null`
* Resolves #1483
#### Testing Instructions:
1. Run:
```python
from deephaven import empty_table, time_table
size = 100
scale = 1000
random_values_with_null_NaN = empty_table(size).update([
"MyString=(i%11==0? null : `a`+(int)(scale*(Math.random()*2-1)))"
])
```
2. Add the string and char columns and any other arbitrary columns as rollup columns in any order
3. The key column should only show `null` if it actually represents a null value in the column
---------
Co-authored-by: georgecwan <georgecwan@users.noreply.github.com>
Co-authored-by: Mike Bender <mikebender@deephaven.io>1 parent 4eda17c commit 327bcb6
22 files changed
Lines changed: 18 additions & 0 deletions
File tree
- packages/iris-grid/src
- tests/table-operations.spec.ts-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
182 | 191 | | |
183 | 192 | | |
184 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
185 | 203 | | |
186 | 204 | | |
187 | 205 | | |
| |||
0 commit comments