Added support for CDE to specify the join type
Changed the read type to allow CDE proper handling