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

    https://github.com/apache/spark/pull/20937#discussion_r179952689
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JsonDataSource.scala
 ---
    @@ -175,11 +188,15 @@ object MultiLineJsonDataSource extends JsonDataSource 
{
           .values
       }
     
    -  private def createParser(jsonFactory: JsonFactory, record: 
PortableDataStream): JsonParser = {
    +  private def createParser(
    +      jsonFactory: JsonFactory,
    +      record: PortableDataStream,
    +      encoding: Option[String] = None): JsonParser = {
    --- End diff --
    
    `encoding: Option[String] = None` -> `encoding: Option[String]`. You don't 
have to worry about signature for private ones. Theoretically MiMa will detect 
the signature changes for public APIs, which make the Jenkins tests failed.


---

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

Reply via email to