Ok, the problem is that you are providing an expression for the id attribute in the insert, so we wouldn’t have to use a temporary table acrobatics, but we currently fail to detect this early enough. I’ll look into optimizing this.