Rename the function to check the stream type for previous truncate table