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

    https://github.com/apache/spark/pull/16113#discussion_r90743078
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQuery.scala ---
    @@ -32,21 +32,33 @@ import org.apache.spark.sql.SparkSession
     trait StreamingQuery {
     
       /**
    -   * Returns the name of the query. This name is unique across all active 
queries. This can be
    -   * set in the `org.apache.spark.sql.streaming.DataStreamWriter` as
    -   * `dataframe.writeStream.queryName("query").start()`.
    +   * Returns the user-specified name of the query, or null if not 
specified.
    +   * This name can be specified in the 
`org.apache.spark.sql.streaming.DataStreamWriter`
    +   * as `dataframe.writeStream.queryName("query").start()`.
    +   * This name, if set, must be unique across all active queries.
        *
        * @since 2.0.0
        */
       def name: String
     
       /**
    -   * Returns the unique id of this query.
    +   * Returns the unique id of this query that persists across restarts 
from checkpoint data.
    +   * That is, this id is generated when a query is started for the first 
time, and
    +   * will be the same every time it is restarted from checkpoint data.
    +   * There can only be one query with the same id active in a Spark 
cluster.
    --- End diff --
    
    I will just remove that line then. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to