HAWQ-1732. Make writable table can read
diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c
index cc8fc0e..cc8da99 100644
--- a/src/backend/optimizer/plan/createplan.c
+++ b/src/backend/optimizer/plan/createplan.c
@@ -1293,15 +1293,6 @@
 		using_location = true;
 	}
 
-	/* various validations */
-
-	if(rel->writable && allocatedResource)
-		ereport(ERROR,
-				(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
-				errmsg("it is not possible to read from a WRITABLE external table."),
-				errhint("Create the table as READABLE instead"),
-						 errOmitLocation(true)));
-
 	if(rel->rejectlimit != -1)
 	{
 		/* 
@@ -5142,3 +5133,5 @@
 
 	return result;
 }
+
+