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

Oh, sorry, my bad, Analyzer.scala#L68 is only about expression, but we should check if every logical operator has been resolved in the logical plan tree.