You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertQueryReturnsEmptyResult("SELECT * FROM \"" + table.getName() + "$files\"");
6235
+
}
6236
+
}
6237
+
6230
6238
@Test
6231
6239
publicvoidtestModifyingOldSnapshotIsNotPossible()
6232
6240
{
@@ -7298,7 +7306,7 @@ public void testCorruptedTableLocation()
7298
7306
assertQueryFails("UPDATE " + tableName + " SET country = 'AUSTRIA'", "Metadata not found in metadata location for table " + schemaTableName);
7299
7307
assertQueryFails("DELETE FROM " + tableName, "Metadata not found in metadata location for table " + schemaTableName);
7300
7308
assertQueryFails("MERGE INTO " + tableName + " USING (SELECT 1 a) input ON true WHEN MATCHED THEN DELETE", "Metadata not found in metadata location for table " + schemaTableName);
7301
-
assertQueryFails("TRUNCATE TABLE " + tableName, "This connector does not support truncating tables");
7309
+
assertQueryFails("TRUNCATE TABLE " + tableName, "Metadata not found in metadata location for table " + schemaTableName);
7302
7310
assertQueryFails("COMMENT ON TABLE " + tableName + " IS NULL", "Metadata not found in metadata location for table " + schemaTableName);
7303
7311
assertQueryFails("COMMENT ON COLUMN " + tableName + ".foo IS NULL", "Metadata not found in metadata location for table " + schemaTableName);
7304
7312
assertQueryFails("CALL iceberg.system.rollback_to_snapshot(CURRENT_SCHEMA, '" + tableName + "', 8954597067493422955)", "Metadata not found in metadata location for table " + schemaTableName);
0 commit comments