-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
kind/fixCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Describe the bug
Create view failed with error: "failed to init view stmt"
To Reproduce
create a view with some complex select stmt such as union and join and group by.
Why
This is because the toSql() method of SlotRef will return like "<slot 20> col as alias", if that SlotRef is analyzed.
Metadata
Metadata
Assignees
Labels
kind/fixCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.