You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by cg...@apache.org on 2022/09/29 19:28:40 UTC
[drill] branch master updated: DRILL-8323: upgrade commons-text to 1.10.0 (#2663)
This is an automated email from the ASF dual-hosted git repository.
cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/master by this push:
new 32d4e6855d DRILL-8323: upgrade commons-text to 1.10.0 (#2663)
32d4e6855d is described below
commit 32d4e6855d7766064d7c5403bd4be7d2be23d3d1
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Thu Sep 29 20:28:35 2022 +0100
DRILL-8323: upgrade commons-text to 1.10.0 (#2663)
---
contrib/format-excel/pom.xml | 2 +-
.../org/apache/drill/exec/udfs/TestStringDistanceFunctions.java | 6 +++---
pom.xml | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/contrib/format-excel/pom.xml b/contrib/format-excel/pom.xml
index c1b90d626f..7daf5a57b0 100644
--- a/contrib/format-excel/pom.xml
+++ b/contrib/format-excel/pom.xml
@@ -52,7 +52,7 @@
<dependency>
<groupId>com.github.pjfanning</groupId>
<artifactId>excel-streaming-reader</artifactId>
- <version>4.0.2</version>
+ <version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
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 e90c0b60c1..17b43fb4d4 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 class TestStringDistanceFunctions extends ClusterTest {
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 class TestStringDistanceFunctions extends ClusterTest {
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 class TestStringDistanceFunctions extends ClusterTest {
.singletonDouble();
assertEquals(3.0, result, 0.0);
}
-}
\ No newline at end of file
+}
diff --git a/pom.xml b/pom.xml
index f988122b4a..a565334de1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,7 +104,7 @@
<maven.min.version>3.6.3</maven.min.version>
<commons.net.version>3.6</commons.net.version>
<commons.validator.version>1.6</commons.validator.version>
- <commons.text.version>1.6</commons.text.version>
+ <commons.text.version>1.10.0</commons.text.version>
<protobuf.version>3.16.1</protobuf.version>
<protostuff.version>1.7.1</protostuff.version>
<codemodel.version>2.6</codemodel.version>