TAJO-1261: Separate query and ddl execution codes from GlobalEngine.