Skip to content

Commit c0d61c6

Browse files
findinpathchenjian2664
authored andcommitted
Add an explanatory comment on why eventual rollback actions are ignored
1 parent 10d4200 commit c0d61c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/trino-ignite/src/main/java/io/trino/plugin/ignite/IgniteMetadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ public void createTable(ConnectorSession session, ConnectorTableMetadata tableMe
218218
if (saveMode == REPLACE) {
219219
throw new TrinoException(NOT_SUPPORTED, "This connector does not support replacing tables");
220220
}
221+
// No rollback action is needed when creating an empty table
221222
igniteClient.beginCreateTable(session, tableMetadata, _ -> {});
222223
}
223224

0 commit comments

Comments
 (0)