fix failed to create view when use window function because the view string contains slot id and which cannot be parsed.