TeslaCN commented on issue #19566: URL: https://github.com/apache/shardingsphere/issues/19566#issuecomment-1199075030
Throwing TableModifyInTransactionException is because PostgreSQL can rollback DDL like the following: ```sql begin; drop table t; rollback; ``` But ShardingSphere's meta data cannot be rollback. If `truncate` won't change the meta data, may be we could allow it could be executed in transaction. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
