Commit 7d595ee
committed
BUG: Honor compression in the OOC streaming write path
DatasetIO::createEmptyDataset created the dataset with no creation
property list, so out-of-core arrays large enough to take the two-step
streaming write (createEmptyDataset + hyperslab writes) were always
written contiguous and uncompressed, even when WriteOptions requested
compression. The single-shot writeSpan path already applied it.
* Build the dataset creation property list via BuildChunkedDeflateDcpl
in createEmptyDataset, matching writeSpan
* Preserves the existing fall-throughs to contiguous storage for
compression level 0 and for arrays below the small-array threshold
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>1 parent c04347c commit 7d595ee
1 file changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
1142 | 1159 | | |
1143 | 1160 | | |
1144 | | - | |
| 1161 | + | |
1145 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1146 | 1167 | | |
1147 | 1168 | | |
1148 | 1169 | | |
| |||
0 commit comments