Skip to content

Commit

Permalink
[MINOR][SQL][TESTS] Enable test case testOrcAPI in `JavaDataFrameRe…
Browse files Browse the repository at this point in the history
…aderWriterSuite`

### What changes were proposed in this pull request?
This PR enabled test case `testOrcAPI` in `JavaDataFrameReaderWriterSuite` because this test no longer depends on Hive classes, we can test it like other test cases in this Suite.

### Why are the changes needed?
Enable test case `testOrcAPI` in `JavaDataFrameReaderWriterSuite`

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GitHub Actions

### Was this patch authored or co-authored using generative AI tooling?
No

Closes apache#47400 from LuciferYang/minor-testOrcAPI.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: yangjie01 <yangjie01@baidu.com>
  • Loading branch information
LuciferYang committed Jul 18, 2024
1 parent 3b4c423 commit 546da0d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,7 @@ public void testParquetAPI() {
.write().parquet(output);
}

/**
* This only tests whether API compiles, but does not run it as orc()
* cannot be run without Hive classes.
*/
@Test
public void testOrcAPI() {
spark.read().schema(schema).orc();
spark.read().schema(schema).orc(input);
Expand Down

0 comments on commit 546da0d

Please sign in to comment.