[SPARK-2917] [SQL] Avoid table creation in logical plan analyzing for CTAS

Why is this a leaf node?  I think that is going to break things like the addition of exchange operators.