Package io.trino.tests.product
Class TpcTestUtils
java.lang.Object
io.trino.tests.product.TpcTestUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertResults(List<String> expected, String query) We use hardcoded results from Trino tpch/tpcds suite stored as plain text.static voidcreateTpcdsAndTpchDatasets(String catalog) static voidcreateTpcdsDataset(String catalog) static voidcreateTpchDataset(String catalog) static Object[][]static Object[][]static StringtrimIfNeeded(String value)
-
Method Details
-
createTpchDataset
-
createTpcdsDataset
-
createTpcdsAndTpchDatasets
-
tpchQueries
-
tpcdsQueries
-
assertResults
We use hardcoded results from Trino tpch/tpcds suite stored as plain text. Some minor conversions are needed: Double values may different at last bits due to decimal conversion to text. Big decimal values may have trailing zeros and dots -
trimIfNeeded
-