Skip to content

Commit 0ff4904

Browse files
Adapting tests due to the switch to the legacy dense reader in 2.7.2
1 parent 3db5bd0 commit 0ff4904

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

src/test/java/io/tiledb/java/api/QueryConditionTest.java

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,27 +150,35 @@ private void arrayRead() throws Exception {
150150

151151
// In the legacy 'sm.query.dense.reader' we expect all cells that satisfy the QC to be
152152
// filtered out. For the refactored reader, which is the default after 2.7, filtered out means
153-
// the value is replaced with the fill value.
153+
// the value is replaced with the fill value. UPDATE: 2.7.2 went back to the legacy reader due
154+
// to some bugs.
154155
// check a1
155156
Assert.assertArrayEquals(
156157
a1_buff,
157158
new int[] {
158-
-2147483648,
159-
-2147483648,
160-
-2147483648,
161-
-2147483648,
162-
-2147483648,
159+
// -2147483648,
160+
// -2147483648,
161+
// -2147483648,
162+
// -2147483648,
163+
// -2147483648,
163164
13,
164-
-2147483648,
165-
-2147483648,
165+
// -2147483648,
166+
// -2147483648,
166167
16
167168
});
168169

169170
// check a2
170171
Assert.assertArrayEquals(
171172
a2_buff,
172173
new float[] {
173-
Float.NaN, Float.NaN, Float.NaN, Float.NaN, Float.NaN, 15.3f, Float.NaN, Float.NaN,
174+
// Float.NaN,
175+
// Float.NaN,
176+
// Float.NaN,
177+
// Float.NaN,
178+
// Float.NaN,
179+
15.3f,
180+
// Float.NaN,
181+
// Float.NaN,
174182
19.1f
175183
},
176184
0.1f);

0 commit comments

Comments
 (0)