Skip to content

Commit 0d0df48

Browse files
committed
Update error messages
1 parent 7f1234d commit 0d0df48

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,47 +1750,47 @@ public void testDelete()
17501750
public void testDeleteWithLike()
17511751
{
17521752
assertThatThrownBy(super::testDeleteWithLike)
1753-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1753+
.hasStackTraceContaining("This connector does not support modifying table rows");
17541754
}
17551755

17561756
@Test
17571757
@Override
17581758
public void testDeleteWithComplexPredicate()
17591759
{
17601760
assertThatThrownBy(super::testDeleteWithComplexPredicate)
1761-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1761+
.hasStackTraceContaining("This connector does not support modifying table rows");
17621762
}
17631763

17641764
@Test
17651765
@Override
17661766
public void testDeleteWithSemiJoin()
17671767
{
17681768
assertThatThrownBy(super::testDeleteWithSemiJoin)
1769-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1769+
.hasStackTraceContaining("This connector does not support modifying table rows");
17701770
}
17711771

17721772
@Test
17731773
@Override
17741774
public void testDeleteWithSubquery()
17751775
{
17761776
assertThatThrownBy(super::testDeleteWithSubquery)
1777-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1777+
.hasStackTraceContaining("This connector does not support modifying table rows");
17781778
}
17791779

17801780
@Test
17811781
@Override
17821782
public void testExplainAnalyzeWithDeleteWithSubquery()
17831783
{
17841784
assertThatThrownBy(super::testExplainAnalyzeWithDeleteWithSubquery)
1785-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1785+
.hasStackTraceContaining("This connector does not support modifying table rows");
17861786
}
17871787

17881788
@Test
17891789
@Override
17901790
public void testDeleteWithVarcharPredicate()
17911791
{
17921792
assertThatThrownBy(super::testDeleteWithVarcharPredicate)
1793-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1793+
.hasStackTraceContaining("This connector does not support modifying table rows");
17941794
}
17951795

17961796
@Test
@@ -1806,7 +1806,7 @@ public void testDeleteAllDataFromTable()
18061806
public void testRowLevelDelete()
18071807
{
18081808
assertThatThrownBy(super::testRowLevelDelete)
1809-
.hasStackTraceContaining("Delete without primary key or partition key is not supported");
1809+
.hasStackTraceContaining("This connector does not support modifying table rows");
18101810
}
18111811

18121812
// test polymorphic table function

0 commit comments

Comments
 (0)