From 0271b6cc3dcdac6f6fce2897ba6247a383fbdebc Mon Sep 17 00:00:00 2001 From: findinpath Date: Fri, 28 Jan 2022 20:47:46 +0100 Subject: [PATCH 1/3] Include less details in the query failure messsage matching --- .../java/io/trino/tests/product/hive/TestHiveCompatibility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveCompatibility.java b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveCompatibility.java index 79874bf2a3b2..ce981e1493b7 100644 --- a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveCompatibility.java +++ b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveCompatibility.java @@ -207,7 +207,7 @@ public void testSmallDecimalFieldWrittenByOptimizedParquetWriterCannotBeReadByHi // Hive expects `FIXED_LEN_BYTE_ARRAY` for decimal values irrespective of the Parquet specification which allows `INT32`, `INT64` for short precision decimal types assertQueryFailure(() -> onHive().executeQuery("SELECT a_decimal FROM " + tableName)) - .hasMessageMatching(".* org.apache.parquet.io.ParquetDecodingException: Can not read value at 1 in block 0 in file .*"); + .hasMessageMatching(".*ParquetDecodingException: Can not read value at 1 in block 0 in file .*"); onTrino().executeQuery(format("DROP TABLE %s", tableName)); } From 359a6ff1a92ae8587a92c57bda28e6dbc6a1cd26 Mon Sep 17 00:00:00 2001 From: findinpath Date: Fri, 28 Jan 2022 20:50:31 +0100 Subject: [PATCH 2/3] empty From 613b583e1fd9ce68cfbad7f85f880069881c7842 Mon Sep 17 00:00:00 2001 From: findinpath Date: Fri, 28 Jan 2022 21:45:48 +0100 Subject: [PATCH 3/3] empty