Description
It seems that the tests for rewrite rules depends on the famous SCOTT table from Oracle, yet it also seems unclear if there exists foreign key constraints between the EMP and DEPT tables. If there are such constraints, are they considered in any optimization rules (CoreRules)? And if so, are these constraints stored in RelOptTable?