Skip to content

Commit 44f31dd

Browse files
committed
Changes
1 parent a502317 commit 44f31dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

framework/src/main/java/org/apache/drill/test/framework/ColumnList.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ public int compare(ColumnList o1, ColumnList o2) {
175175
return 0;
176176
}
177177
else{
178+
if(Math.abs(f1-f2)>0.01)
179+
return 0;
178180
precisionErrorFlag = 1;
179181
flags.set(i,1);
180182
return -1;
@@ -199,6 +201,8 @@ public int compare(ColumnList o1, ColumnList o2) {
199201
return 0;
200202
}
201203
else{
204+
if(Math.abs(d1-d2)>0.01)
205+
return 0;
202206
precisionErrorFlag = 1;
203207
flags.set(i,1);
204208
return -1;

0 commit comments

Comments
 (0)