Skip to content

Commit 5623413

Browse files
committed
Fixed JDBC Test Error
1 parent da6d7d8 commit 5623413

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ public void testExpressionsWithoutAliasesPermutations() throws Exception {
299299
@Test // DRILL-6734
300300
public void testExpressionsWithAliases() throws Exception {
301301
String query = "select person_id as ID, 1+1+2+3+5+8+13+21+34 as FIBONACCI_SUM, (1+sqrt(5))/2 as golden_ratio\n" +
302-
"from mysql.`drill_mysql_test`.person limit 2";
302+
"from mysql.`drill_mysql_test`.person order by person_id limit 2";
303303

304304
testBuilder()
305305
.sqlQuery(query)
306-
.unOrdered()
306+
.ordered()
307307
.baselineColumns("ID", "FIBONACCI_SUM", "golden_ratio")
308-
.baselineValues(1, 88, BigDecimal.valueOf(1.618033988749895))
309-
.baselineValues(2, 88, BigDecimal.valueOf(1.618033988749895))
308+
.baselineValues(1, 88, 1.618033988749895)
309+
.baselineValues(2, 88, 1.618033988749895)
310310
.go();
311311
}
312312

0 commit comments

Comments
 (0)