[reporter="jhyde", created="Mon, 5 Dec 2005 01:23:14 -0500 (GMT-05:00)"]
During the refactoring to introduce RexProgram, I strengthened the asserts which check that a RexInputRef's type is consistent with the field that it is referencing. RelStructuredTypeFlattener is lazy when translating indicator variables as part of an IS NULL function call, and reuses the old RexInputRef: this field the same offset but a different type (BOOLEAN).
This change was large enough already without rewriting the flattening algorithm, so I have disabled the two tests in farrago/unitsql/ddl/udt.sql.
[reporter="jhyde", created="Mon, 5 Dec 2005 01:23:14 -0500 (GMT-05:00)"] During the refactoring to introduce RexProgram, I strengthened the asserts which check that a RexInputRef's type is consistent with the field that it is referencing. RelStructuredTypeFlattener is lazy when translating indicator variables as part of an IS NULL function call, and reuses the old RexInputRef: this field the same offset but a different type (BOOLEAN).
This change was large enough already without rewriting the flattening algorithm, so I have disabled the two tests in farrago/unitsql/ddl/udt.sql.