You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2022/01/11 21:39:00 UTC
[datasketches-hive] branch core_3_0_0 created (now 3569235)
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a change to branch core_3_0_0
in repository https://gitbox.apache.org/repos/asf/datasketches-hive.git.
at 3569235 use the latest datasketches-java-3.0.0
This branch includes the following new commits:
new 3569235 use the latest datasketches-java-3.0.0
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
[datasketches-hive] 01/01: use the latest datasketches-java-3.0.0
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch core_3_0_0
in repository https://gitbox.apache.org/repos/asf/datasketches-hive.git
commit 3569235e4450ae9bfbd97cc89855832d14136fd3
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Tue Jan 11 13:38:37 2022 -0800
use the latest datasketches-java-3.0.0
---
NOTICE | 2 +-
pom.xml | 34 +++++++++++-----------
.../GetQuantileFromStringsSketchUDFTest.java | 3 +-
.../GetQuantilesFromStringsSketchUDFTest.java | 4 +--
4 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/NOTICE b/NOTICE
index 12da6f9..c244525 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
Apache DataSketches Hive
-Copyright 2020 The Apache Software Foundation
+Copyright 2022 The Apache Software Foundation
Copyright 2015-2018 Yahoo
Copyright 2019 Verizon Media
diff --git a/pom.xml b/pom.xml
index 3e20519..fda91b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,11 +49,11 @@ under the License.
<archive>https://mail-archives.apache.org/mod_mbox/datasketches-dev</archive>
</mailingList>
<mailingList>
- <name>sketches-user</name>
- <archive>https://groups.google.com/forum/#!forum/sketches-user</archive>
- <subscribe>mailto:sketches-user%2Bsubscribe@googlegroups.com</subscribe>
- <unsubscribe>mailto:sketches-user%2Bunsubscribe@googlegroups.com</unsubscribe>
- <post>mailto:sketches-user@googlegroups.com</post>
+ <name>DataSketches Users</name>
+ <subscribe>user-subscribe@datasketches.apache.org</subscribe>
+ <unsubscribe>user-unsubscribe@datasketches.apache.org</unsubscribe>
+ <post>user@datasketches.apache.org</post>
+ <archive>https://mail-archives.apache.org/mod_mbox/datasketches-user</archive>
</mailingList>
</mailingLists>
@@ -83,14 +83,14 @@ under the License.
<properties>
<!-- UNIQUE FOR THIS JAVA COMPONENT -->
- <datasketches-java.version>2.0.0</datasketches-java.version>
+ <datasketches-java.version>3.0.0</datasketches-java.version>
<hive-exec.version>2.3.4</hive-exec.version>
<hadoop-common.version>2.8.5</hadoop-common.version>
<slf4j-simple.version>1.7.30</slf4j-simple.version>
<!-- END:UNIQUE FOR THIS JAVA COMPONENT -->
<!-- Test -->
- <testng.version>7.1.0</testng.version>
+ <testng.version>7.4.0</testng.version>
<!-- System-wide properties -->
<maven.version>3.5.0</maven.version>
@@ -113,23 +113,23 @@ under the License.
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <!-- overrides parent -->
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version> <!-- overrides parent -->
<maven-enforcer-plugin.version>3.0.0-M2</maven-enforcer-plugin.version> <!-- overrides parent -->
- <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <!-- overrides parent -->
+ <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version> <!-- overrides parent -->
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> <!-- overrides parent -->
- <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> <!-- overrides parent -->
- <maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version> <!-- overrides parent -->
+ <maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version> <!-- overrides parent -->
+ <maven-release-plugin.version>3.0.0-M4</maven-release-plugin.version> <!-- overrides parent -->
<maven-remote-resources-plugin.version>[1.7.0,)</maven-remote-resources-plugin.version> <!-- overrides parent -->
<maven-source-plugin.version>3.2.1</maven-source-plugin.version> <!-- overrides parent -->
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> <!-- overrides parent -->
<!-- Apache Plugins -->
<apache-rat-plugin.version>0.13</apache-rat-plugin.version> <!-- overrides parent -->
<!-- org.jacoco Maven Plugins -->
- <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
+ <jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<!-- org.eluder Maven Plugins -->
<coveralls-repo-token></coveralls-repo-token>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<!-- other -->
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
- <git-commit-id-plugin.version>3.0.0</git-commit-id-plugin.version>
+ <git-commit-id-maven-plugin.version>5.0.0</git-commit-id-maven-plugin.version>
</properties>
<repositories>
@@ -539,9 +539,9 @@ under the License.
<pluginManagement>
<plugins>
<plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <version>${git-commit-id-plugin.version}</version>
+ <groupId>io.github.git-commit-id</groupId>
+ <artifactId>git-commit-id-maven-plugin</artifactId>
+ <version>${git-commit-id-maven-plugin.version}</version>
<executions>
<execution>
<goals>
@@ -648,8 +648,8 @@ under the License.
<plugins>
<plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
+ <groupId>io.github.git-commit-id</groupId>
+ <artifactId>git-commit-id-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantileFromStringsSketchUDFTest.java b/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantileFromStringsSketchUDFTest.java
index ef4d89d..380ff6b 100644
--- a/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantileFromStringsSketchUDFTest.java
+++ b/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantileFromStringsSketchUDFTest.java
@@ -28,6 +28,7 @@ import org.testng.annotations.Test;
import org.apache.datasketches.ArrayOfItemsSerDe;
import org.apache.datasketches.ArrayOfLongsSerDe;
import org.apache.datasketches.ArrayOfStringsSerDe;
+import org.apache.datasketches.SketchesArgumentException;
import org.apache.datasketches.quantiles.ItemsSketch;
@SuppressWarnings("javadoc")
@@ -56,7 +57,7 @@ public class GetQuantileFromStringsSketchUDFTest {
//Note: this exception is only caught because a bounds error was detected.
//If a bounds error is not detected from a wrong type assignment, unexpected results could occur.
- @Test(expectedExceptions = IllegalArgumentException.class)
+ @Test(expectedExceptions = SketchesArgumentException.class)
public void fractionsWrongSketchType() {
ItemsSketch<Long> sketch = ItemsSketch.getInstance(Comparator.naturalOrder());
sketch.update(1L);
diff --git a/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantilesFromStringsSketchUDFTest.java b/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantilesFromStringsSketchUDFTest.java
index 2c162f6..f0836b0 100644
--- a/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantilesFromStringsSketchUDFTest.java
+++ b/src/test/java/org/apache/datasketches/hive/quantiles/GetQuantilesFromStringsSketchUDFTest.java
@@ -100,7 +100,7 @@ public class GetQuantilesFromStringsSketchUDFTest {
//Note: this exception is only caught because a bounds error was detected.
//If a bounds error is not detected from a wrong type assignment, unexpected results could occur.
- @Test(expectedExceptions = IllegalArgumentException.class)
+ @Test(expectedExceptions = SketchesArgumentException.class)
public void fractionsWrongSketchType() {
ItemsSketch<Long> sketch = ItemsSketch.getInstance(Comparator.naturalOrder());
sketch.update(1L);
@@ -112,7 +112,7 @@ public class GetQuantilesFromStringsSketchUDFTest {
//Note: this exception is only caught because a bounds error was detected.
//If a bounds error is not detected from a wrong type assignment, unexpected results could occur.
- @Test(expectedExceptions = IllegalArgumentException.class)
+ @Test(expectedExceptions = SketchesArgumentException.class)
public void evenlySpacedWrongSketchType() {
ItemsSketch<Long> sketch = ItemsSketch.getInstance(Comparator.naturalOrder());
sketch.update(1L);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org