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

    https://github.com/apache/spark/pull/18875#discussion_r137226222
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonGenerator.scala
 ---
    @@ -22,24 +22,44 @@ import java.io.Writer
     import com.fasterxml.jackson.core._
     
     import org.apache.spark.sql.catalyst.InternalRow
    +import org.apache.spark.sql.catalyst.analysis.TypeCheckResult
     import org.apache.spark.sql.catalyst.expressions.SpecializedGetters
     import org.apache.spark.sql.catalyst.util.{ArrayData, DateTimeUtils, 
MapData}
     import org.apache.spark.sql.types._
     
     private[sql] class JacksonGenerator(
    -    schema: StructType,
    +    rowSchema: DataType,
         writer: Writer,
         options: JSONOptions) {
    +
    --- End diff --
    
    Nit: We don't need to add this extra space.


---

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

Reply via email to