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

The tests are failing because you have parameters that are in a second parameter list but not in otherCopyArgs.  However, you shouldn't need to pass the HiveContext in manually at all.  It is available automatically through the `sqlContext` method in `SparkPlan`.