Closed dynamobi-build closed 12 years ago
[author="jvs", created="Wed, 18 Jul 2007 15:33:33 -0500 (GMT-05:00)"]
Oof...must be caused by the fact that default value expressions are loaded using the global code cache.
[author="jvs", created="Wed, 18 Jul 2007 15:48:26 -0500 (GMT-05:00)"] Unfortunately, just cloning the RexNode returned from the cache isn't good enough, since that keeps the original type descriptor.
[author="jhyde", created="Thu, 19 Jul 2007 10:54:26 -0500 (GMT-05:00)"] Fixed in change 9619.
[reporter="jhyde", created="Wed, 18 Jul 2007 11:52:10 -0500 (GMT-05:00)"] If you create a table where one of the columns has a default value, and you insert into that table, the statement works fine. But if you execute a similar statement, get an assertion error.
Testcase: