You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/03/31 04:08:28 UTC
[incubator-paimon] branch master updated: [hotfix] Remove hive.main.version (#782)
This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 76d9b53fd [hotfix] Remove hive.main.version (#782)
76d9b53fd is described below
commit 76d9b53fd6f3290fa361eecff90539f864850771
Author: Jingsong Lee <ji...@gmail.com>
AuthorDate: Fri Mar 31 12:08:24 2023 +0800
[hotfix] Remove hive.main.version (#782)
---
paimon-hive/paimon-hive-connector-common/pom.xml | 20 --------------------
.../PaimonDateObjectInspectorTest.java | 3 ---
.../PaimonTimestampObjectInspectorTest.java | 3 ---
3 files changed, 26 deletions(-)
diff --git a/paimon-hive/paimon-hive-connector-common/pom.xml b/paimon-hive/paimon-hive-connector-common/pom.xml
index 7e29ede58..66cdc02af 100644
--- a/paimon-hive/paimon-hive-connector-common/pom.xml
+++ b/paimon-hive/paimon-hive-connector-common/pom.xml
@@ -551,26 +551,6 @@ under the License.
<build>
<plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>add-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/main/${hive.main.version}</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
diff --git a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonDateObjectInspectorTest.java b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonDateObjectInspectorTest.java
index f0740053c..2d5738008 100644
--- a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonDateObjectInspectorTest.java
+++ b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonDateObjectInspectorTest.java
@@ -22,7 +22,6 @@ import org.apache.hadoop.hive.serde2.io.DateWritable;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import java.sql.Date;
import java.time.LocalDate;
@@ -32,7 +31,6 @@ import static org.assertj.core.api.Assertions.assertThat;
/** Tests for {@link PaimonDateObjectInspector}. */
public class PaimonDateObjectInspectorTest {
- @DisabledIfSystemProperty(named = "hive.main.version", matches = "3")
@Test
public void testCategoryAndClass() {
PaimonDateObjectInspector oi = new PaimonDateObjectInspector();
@@ -63,7 +61,6 @@ public class PaimonDateObjectInspectorTest {
assertThat(oi.getPrimitiveWritableObject(null)).isNull();
}
- @DisabledIfSystemProperty(named = "hive.main.version", matches = "3")
@Test
public void testCopyObject() {
PaimonDateObjectInspector oi = new PaimonDateObjectInspector();
diff --git a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonTimestampObjectInspectorTest.java b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonTimestampObjectInspectorTest.java
index e9eda365f..f3d6d9964 100644
--- a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonTimestampObjectInspectorTest.java
+++ b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/objectinspector/PaimonTimestampObjectInspectorTest.java
@@ -24,7 +24,6 @@ import org.apache.hadoop.hive.serde2.io.TimestampWritable;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import java.time.LocalDateTime;
@@ -33,7 +32,6 @@ import static org.assertj.core.api.Assertions.assertThat;
/** Tests for {@link PaimonTimestampObjectInspector}. */
public class PaimonTimestampObjectInspectorTest {
- @DisabledIfSystemProperty(named = "hive.main.version", matches = "3")
@Test
public void testCategoryAndClass() {
PaimonTimestampObjectInspector oi = new PaimonTimestampObjectInspector();
@@ -67,7 +65,6 @@ public class PaimonTimestampObjectInspectorTest {
assertThat(oi.getPrimitiveWritableObject(null)).isNull();
}
- @DisabledIfSystemProperty(named = "hive.main.version", matches = "3")
@Test
public void testCopyObject() {
PaimonTimestampObjectInspector oi = new PaimonTimestampObjectInspector();