Github user joseph-torres commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18973#discussion_r133844671
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala 
---
    @@ -564,10 +564,14 @@ class SparkSession private(
        */
       private[sql] def internalCreateDataFrame(
           catalystRows: RDD[InternalRow],
    -      schema: StructType): DataFrame = {
    +      schema: StructType,
    +      isStreaming: Boolean = false): DataFrame = {
         // TODO: use MutableProjection when rowRDD is another DataFrame and 
the applied
         // schema differs from the existing schema on any field data type.
    -    val logicalPlan = LogicalRDD(schema.toAttributes, catalystRows)(self)
    +    val logicalPlan = LogicalRDD(
    +      schema.toAttributes,
    +      catalystRows,
    +      isStreaming = isStreaming)(self)
    --- End diff --
    
    It's necessary here because there are two other default arguments in the 
constructor.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to