Open DrewKimball opened 4 weeks ago
Note that until this is fixed, triggers will encounter an assertion error upon execution on a table with the implicit
rowid
>column. For example, the following optimizer test:exec-ddl CREATE TABLE t (a INT); ----
>encounters: "unexpected number of visible columns"
It turns out the assertion failure was an artifact of some missing handling for hidden columns in opt tests. However, we can still keep this issue open to track adding support for hidden columns to triggers.
Now that it is possible to assign to an element of a composite-typed PL/pgSQL variable (#132628), we should make hidden columns visible to triggers, in addition to visible columns.
Jira issue: CRDB-43543