This will break inserts that leave out columns with default values, and relatedly, it will make it impossible to insert into tables with MATERIALIZED or ALIAS columns altogether. Perhaps this function should use the DESCRIBE TABLE output rather than the RowBinaryWithNamesAndTypes header?
Originally posted by @timvermeulen in #244 (comment)