Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14482#discussion_r73464090
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala ---
    @@ -420,45 +420,40 @@ private[sql] abstract class SparkStrategies extends 
QueryPlanner[SparkPlan] {
     
       object DDLStrategy extends Strategy {
         def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
    -      case c: CreateTableUsing if c.temporary && !c.allowExisting =>
    -        logWarning(
    -          s"CREATE TEMPORARY TABLE ${c.tableIdent.identifier} USING... is 
deprecated, " +
    -            s"please use CREATE TEMPORARY VIEW viewName USING... instead")
    -        ExecutedCommandExec(
    -          CreateTempViewUsing(
    -            c.tableIdent, c.userSpecifiedSchema, replace = true, 
c.provider, c.options)) :: Nil
    -
    -      case c: CreateTableUsing if !c.temporary =>
    +      case CreateTable(tableDesc, mode, None) if tableDesc.provider.get == 
"hive" =>
    --- End diff --
    
    no, the `provider` is always defined, see 
https://github.com/apache/spark/pull/14482/files#diff-ea32a127bbe0c2bab24b0bbc8c333982R30


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to