For ENG-6718, support adhoc dr ddl statement. (Actually supported by
pervious commits)