Skip to content

Commit

Permalink
[native] Add support for ORC reader and add orc native tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wypb committed Feb 12, 2025
1 parent 18c6209 commit 6370d17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ public abstract class AbstractTestNativeTpcdsQueries
{
String storageFormat = "DWRF";
Session session;
String[] tpcdsFactTableNames = {"catalog_returns", "catalog_sales", "web_sales", "web_returns",
"inventory", "store_sales", "store_returns"};
String[] tpcdsTableNames = {"call_center", "catalog_page", "catalog_returns", "catalog_sales",
"customer", "customer_address", "customer_demographics", "date_dim", "household_demographics",
"income_band", "inventory", "item", "promotion", "reason", "ship_mode", "store",
"store_returns", "store_sales", "time_dim", "warehouse", "web_page", "web_returns",
"web_sales", "web_site"};
Map<String, Long> deletedRowsMap = new HashMap<>();

@Override
Expand Down Expand Up @@ -76,7 +79,7 @@ protected void createTables()

private void dropTables()
{
for (String table : tpcdsFactTableNames) {
for (String table : tpcdsTableNames) {
assertUpdate(session, "DROP TABLE IF EXISTS " + table);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.testng.annotations.Test;

@Test(groups = {"orc"})
public class TestPrestoNativeTpcdsQueriesUsingOrcThrift
public class TestPrestoNativeTpcdsQueriesOrcUsingThrift
extends AbstractTestNativeTpcdsQueries
{
@Override
Expand Down

0 comments on commit 6370d17

Please sign in to comment.