THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
2: Convert SqlTruncateTable
to TruncateTableOperation in SqlToOperationConverter,
in SqlToOperationConverter
3: In method TableEnvironmentImpl#executeInternal,
if the operation is instance of TruncateTableOperation
, get the DynamicTableSink
of the table which should implement SupportsTruncate
and then call method SupportsTruncate#truncateTable
directly to truncate the table.
...