Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...