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

    https://github.com/apache/spark/pull/19459#discussion_r144750565
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/api/python/PythonSQLUtils.scala ---
    @@ -29,4 +32,19 @@ private[sql] object PythonSQLUtils {
       def listBuiltinFunctionInfos(): Array[ExpressionInfo] = {
         FunctionRegistry.functionSet.flatMap(f => 
FunctionRegistry.builtin.lookupFunction(f)).toArray
       }
    +
    +  /**
    +   * Python Callable function to convert ArrowPayloads into a 
[[DataFrame]].
    +   *
    +   * @param payloadRDD A JavaRDD of ArrowPayloads.
    +   * @param schemaString JSON Formatted Schema for ArrowPayloads.
    +   * @param sqlContext The active [[SQLContext]].
    +   * @return The converted [[DataFrame]].
    +   */
    +  def arrowPayloadToDataFrame(
    +       payloadRDD: JavaRDD[Array[Byte]],
    +       schemaString: String,
    +       sqlContext: SQLContext): DataFrame = {
    --- End diff --
    
    I can't believe I found this looks 5 spaces instead of 4.


---

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

Reply via email to