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

    https://github.com/apache/spark/pull/21585#discussion_r196285120
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/sources/InsertSuite.scala ---
    @@ -20,12 +20,47 @@ package org.apache.spark.sql.sources
     import java.io.File
     
     import org.apache.spark.SparkException
    -import org.apache.spark.sql.{AnalysisException, Row}
    +import org.apache.spark.sql._
    +import org.apache.spark.sql.catalyst.TableIdentifier
    +import org.apache.spark.sql.catalyst.catalog.{CatalogStorageFormat, 
CatalogTable, CatalogTableType}
     import org.apache.spark.sql.internal.SQLConf
     import org.apache.spark.sql.internal.SQLConf.PartitionOverwriteMode
     import org.apache.spark.sql.test.SharedSQLContext
    +import org.apache.spark.sql.types._
     import org.apache.spark.util.Utils
     
    +class SimpleInsertSource extends SchemaRelationProvider {
    +  override def createRelation(
    +    sqlContext: SQLContext,
    --- End diff --
    
    4 spaces indentation


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to