You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We optimize compiled function as a last step in the analyzer, which causes it's argument cannot be replaced. But when creating view, the node gets analyzed again, which it leads updating the column argument in the function to fail. It panics instead of erroring because the error gets dropped here, https://github.com/dolthub/go-mysql-server/blob/main/sql/analyzer/fix_exec_indexes.go#L662
Repro:
CREATE TABLE base_tbl (a int PRIMARY KEY, b text DEFAULT 'Unspecified');
CREATE VIEW rw_view15 AS SELECT a, upper(b) FROM base_tbl;
The text was updated successfully, but these errors were encountered:
We optimize compiled function as a last step in the analyzer, which causes it's argument cannot be replaced. But when creating view, the node gets analyzed again, which it leads updating the column argument in the function to fail. It panics instead of erroring because the error gets dropped here, https://github.com/dolthub/go-mysql-server/blob/main/sql/analyzer/fix_exec_indexes.go#L662
Repro:
The text was updated successfully, but these errors were encountered: