Skip to content

Commit 805d8b9

Browse files
committed
ORC-1853: Rename class TesScanData to TestScanData
### What changes were proposed in this pull request? This PR aims to rename class `TesScanData` to `TestScanData`. ### Why are the changes needed? This is a typo when we added this class. - #1833 ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #2132 from dongjoon-hyun/ORC-1853. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 47ac473) Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent e27e4f4 commit 805d8b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/tools/src/test/org/apache/orc/tools/TesScanData.java java/tools/src/test/org/apache/orc/tools/TestScanData.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
import static org.junit.jupiter.api.Assertions.assertTrue;
3838

39-
public class TesScanData {
39+
public class TestScanData {
4040
private Path workDir = new Path(System.getProperty("test.tmp.dir"));
4141
private Configuration conf;
4242
private FileSystem fs;
@@ -47,7 +47,7 @@ public void openFileSystem() throws Exception {
4747
conf = new Configuration();
4848
fs = FileSystem.getLocal(conf);
4949
fs.setWorkingDirectory(workDir);
50-
testFilePath = new Path("TesScanData.testScan.orc");
50+
testFilePath = new Path("TestScanData.testScan.orc");
5151
fs.delete(testFilePath, false);
5252
}
5353

@@ -86,6 +86,6 @@ public void testScan() throws Exception {
8686
assertTrue(output.contains("{\"category\": \"struct\", \"id\": 0, \"max\": 2, \"fields\": [\n" +
8787
"{ \"x\": {\"category\": \"int\", \"id\": 1, \"max\": 1}},\n" +
8888
"{ \"y\": {\"category\": \"string\", \"id\": 2, \"max\": 2}}]}"));
89-
assertTrue(output.contains("File: TesScanData.testScan.orc, bad batches: 0, rows: 10000/10000"));
89+
assertTrue(output.contains("File: TestScanData.testScan.orc, bad batches: 0, rows: 10000/10000"));
9090
}
9191
}

0 commit comments

Comments
 (0)