diff --git a/contrib/format-excel/pom.xml b/contrib/format-excel/pom.xml index c1b90d626f6..7daf5a57b08 100644 --- a/contrib/format-excel/pom.xml +++ b/contrib/format-excel/pom.xml @@ -52,7 +52,7 @@ com.github.pjfanning excel-streaming-reader - 4.0.2 + 4.0.3 org.apache.logging.log4j diff --git a/contrib/udfs/src/test/java/org/apache/drill/exec/udfs/TestStringDistanceFunctions.java b/contrib/udfs/src/test/java/org/apache/drill/exec/udfs/TestStringDistanceFunctions.java index e90c0b60c12..17b43fb4d4d 100644 --- a/contrib/udfs/src/test/java/org/apache/drill/exec/udfs/TestStringDistanceFunctions.java +++ b/contrib/udfs/src/test/java/org/apache/drill/exec/udfs/TestStringDistanceFunctions.java @@ -59,7 +59,7 @@ public void testJaccardDistance() throws Exception { double result = queryBuilder() .sql("select jaccard_distance( 'Big car', 'red car' ) as distance FROM (VALUES(1))") .singletonDouble(); - assertEquals(0.56, result, 0.0); + assertEquals(0.5555555555555556, result, 0.0); } @Test @@ -67,7 +67,7 @@ public void testJaroDistance() throws Exception { double result = queryBuilder() .sql("select jaro_distance( 'Big car', 'red car' ) as distance FROM (VALUES(1))") .singletonDouble(); - assertEquals(0.7142857142857143, result, 0.0); + assertEquals(0.2857142857142857, result, 0.0); } @Test @@ -77,4 +77,4 @@ public void testLevenshteinDistance() throws Exception { .singletonDouble(); assertEquals(3.0, result, 0.0); } -} \ No newline at end of file +} diff --git a/pom.xml b/pom.xml index f988122b4ac..a565334de1f 100644 --- a/pom.xml +++ b/pom.xml @@ -104,7 +104,7 @@ 3.6.3 3.6 1.6 - 1.6 + 1.10.0 3.16.1 1.7.1 2.6