This is an automated email from the ASF dual-hosted git repository.
william pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 71b1f11ce ORC-1681: Remove redundant import statement in tests to fix
checkstyle failures
71b1f11ce is described below
commit 71b1f11ce9af05131d216b4fecb48d3e950d0f15
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Apr 9 16:57:49 2024 -0400
ORC-1681: Remove redundant import statement in tests to fix checkstyle
failures
### What changes were proposed in this pull request?
This is a kind of follow-up of the following to remove redundant `import`
statement in tests to fix checkstyle failure.
- https://github.com/apache/orc/pull/1871
- https://github.com/apache/orc/pull/1870
### Why are the changes needed?
To recover CIs.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #1881 from dongjoon-hyun/ORC-1681.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: William Hyun <[email protected]>
---
java/tools/src/test/org/apache/orc/tools/TestCheckTool.java | 1 -
java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java | 1 -
java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java | 1 -
java/tools/src/test/org/apache/orc/tools/TestRowCount.java | 1 -
4 files changed, 4 deletions(-)
diff --git a/java/tools/src/test/org/apache/orc/tools/TestCheckTool.java
b/java/tools/src/test/org/apache/orc/tools/TestCheckTool.java
index a524f7a50..fe25efb9b 100644
--- a/java/tools/src/test/org/apache/orc/tools/TestCheckTool.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestCheckTool.java
@@ -27,7 +27,6 @@ import
org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch;
import org.apache.orc.OrcFile;
import org.apache.orc.TypeDescription;
import org.apache.orc.Writer;
-import org.apache.orc.tools.CheckTool;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
b/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
index b28c2c308..78682df15 100644
--- a/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
@@ -27,7 +27,6 @@ import
org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch;
import org.apache.orc.OrcFile;
import org.apache.orc.TypeDescription;
import org.apache.orc.Writer;
-import org.apache.orc.tools.ColumnSizes;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
b/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
index bac2ee36c..1356f0e64 100644
--- a/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
@@ -29,7 +29,6 @@ import org.apache.orc.OrcFile;
import org.apache.orc.Reader;
import org.apache.orc.TypeDescription;
import org.apache.orc.Writer;
-import org.apache.orc.tools.MergeFiles;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
b/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
index 5cf6ffc48..074472df9 100644
--- a/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
@@ -26,7 +26,6 @@ import
org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch;
import org.apache.orc.OrcFile;
import org.apache.orc.TypeDescription;
import org.apache.orc.Writer;
-import org.apache.orc.tools.RowCount;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;