LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-34] validate RexInputRefs when new rels are registered #836

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

[reporter="jvs", created="Thu, 2 Feb 2006 22:37:41 -0500 (GMT-05:00)"] Rushan noticed a case where she had constructed a rel with bad inputs, but it didn't get caught until EXPLAIN PLAN attempted to walk it. It would be nice if we could instead validate these during transformTo (the same way we validate that the output type hasn't changed from the original equivalence class). This could work generically via getChildExps, at least for rels that support it.