Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20133#discussion_r159431317
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala ---
    @@ -1180,7 +1202,7 @@ class SparkSqlAstBuilder(conf: SQLConf) extends 
AstBuilder(conf) {
                 ctx)
             }
     
    -        val hasStorageProperties = (ctx.createFileFormat != null) || 
(ctx.rowFormat != null)
    +        val hasStorageProperties = (ctx.createFileFormat.size != 0) || 
(ctx.rowFormat.size != 0)
    --- End diff --
    
    Sure


---

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

Reply via email to