From 3b85bd1f49158e0c28748c6058098d85d31c76bf Mon Sep 17 00:00:00 2001 From: chenjian2664 Date: Wed, 27 Mar 2024 15:00:03 +0800 Subject: [PATCH] Enable Snowflake testInsertIntoNotNullColumn test --- .../trino/plugin/snowflake/TestSnowflakeConnectorTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugin/trino-snowflake/src/test/java/io/trino/plugin/snowflake/TestSnowflakeConnectorTest.java b/plugin/trino-snowflake/src/test/java/io/trino/plugin/snowflake/TestSnowflakeConnectorTest.java index 9ff18a1771a9..040c5b7076b5 100644 --- a/plugin/trino-snowflake/src/test/java/io/trino/plugin/snowflake/TestSnowflakeConnectorTest.java +++ b/plugin/trino-snowflake/src/test/java/io/trino/plugin/snowflake/TestSnowflakeConnectorTest.java @@ -222,12 +222,10 @@ public void testDistinctAggregationPushdown() abort("TODO"); } - @Test @Override - public void testInsertIntoNotNullColumn() + protected String errorMessageForInsertIntoNotNullColumn(String columnName) { - // TODO: java.lang.UnsupportedOperationException: This method should be overridden - assertThatThrownBy(super::testInsertIntoNotNullColumn); + return "NULL result in a non-nullable column"; } @Test