I've a migration planned from 11gR2 to 12c and whole lot of syntax is in ANSI. Its really a nightmare to test each and every query and compare it with the 11g data. Is setting alter session set "_optimizer_ansi_rearchitecture"=false; is the only solution or the bug is fixed