Commit 96aef97
committed
Address review: test naming, catalog-name no-op, silent-skip coverage
- Rename tests/table/test_delete_data_file_manifest_pruning_bug.py to
test_snapshot_manifest_pruning.py, matching the repo's component-named
test file convention (no _bug suffix).
- Drop the f"..._{catalog.name}" identifier suffix: all three catalog
fixture params share name="test_catalog", so it was a no-op: isolation
already comes from the per-test tmp_path.
- Add test_delete_data_file_manifest_pruning_bucket_on_same_result_type_succeeds:
a BucketTransform over an IntegerType source column, where the pre-fix
predicate's type happened to match the source column's type. Unlike the
string-source case (a loud TypeError), this variant let the buggy
row-domain predicate bind successfully and silently prune away the
manifest containing the target file, so delete_data_file reported
success without deleting anything. Verified this fails (silently, no
exception) against the pre-fix code and passes with the current fix.1 parent 6e88f9d commit 96aef97
1 file changed
Lines changed: 50 additions & 2 deletions
Lines changed: 50 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
0 commit comments