This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new c5b9fa3b7 ORC-1673: Remove test packages 
`o.a.o.tools.[count|merge|sizes]`
c5b9fa3b7 is described below

commit c5b9fa3b7734598bf1d60eaaa20419c268baeb08
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Mar 31 16:18:37 2024 -0700

    ORC-1673: Remove test packages `o.a.o.tools.[count|merge|sizes]`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove test packages, `o.a.o.tools.[count|merge|sizes]`, 
and move the test class to the parent directory.
    
    ### Why are the changes needed?
    
    Those test packages have no corresponding source package. In other words, 
the main code is implemented in `o.a.o.tools` package.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #1871 from dongjoon-hyun/ORC-1673.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../src/test/org/apache/orc/tools/{sizes => }/TestColumnSizes.java      | 2 +-
 .../tools/src/test/org/apache/orc/tools/{merge => }/TestMergeFiles.java | 2 +-
 java/tools/src/test/org/apache/orc/tools/{count => }/TestRowCount.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/java/tools/src/test/org/apache/orc/tools/sizes/TestColumnSizes.java 
b/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
similarity index 99%
rename from java/tools/src/test/org/apache/orc/tools/sizes/TestColumnSizes.java
rename to java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
index 4b1c57bc4..b28c2c308 100644
--- a/java/tools/src/test/org/apache/orc/tools/sizes/TestColumnSizes.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestColumnSizes.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.orc.tools.sizes;
+package org.apache.orc.tools;
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
diff --git a/java/tools/src/test/org/apache/orc/tools/merge/TestMergeFiles.java 
b/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
similarity index 99%
rename from java/tools/src/test/org/apache/orc/tools/merge/TestMergeFiles.java
rename to java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
index 2088b90ba..bac2ee36c 100644
--- a/java/tools/src/test/org/apache/orc/tools/merge/TestMergeFiles.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestMergeFiles.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.orc.tools.merge;
+package org.apache.orc.tools;
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
diff --git a/java/tools/src/test/org/apache/orc/tools/count/TestRowCount.java 
b/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
similarity index 98%
rename from java/tools/src/test/org/apache/orc/tools/count/TestRowCount.java
rename to java/tools/src/test/org/apache/orc/tools/TestRowCount.java
index 2ca3fca3e..5cf6ffc48 100644
--- a/java/tools/src/test/org/apache/orc/tools/count/TestRowCount.java
+++ b/java/tools/src/test/org/apache/orc/tools/TestRowCount.java
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.orc.tools.count;
+package org.apache.orc.tools;
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;

Reply via email to