Github user lw-lin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16442#discussion_r94271218
  
    --- Diff: docs/structured-streaming-programming-guide.md ---
    @@ -537,21 +537,21 @@ Most of the common operations on DataFrame/Dataset 
are supported for streaming.
     <div data-lang="scala"  markdown="1">
     
     {% highlight scala %}
    -case class DeviceData(device: String, type: String, signal: Double, time: 
DateTime)
    +case class DeviceData(device: String, deviceType: String, signal: Double, 
time: DateTime)
    --- End diff --
    
    `type` won't compile in scala since it is a keyword, hence here change it 
to `deviceType`


---
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