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

    https://github.com/apache/spark/pull/18550#discussion_r126040581
  
    --- Diff: docs/structured-streaming-kafka-integration.md ---
    @@ -607,5 +609,9 @@ and its dependencies can be directly added to 
`spark-submit` using `--packages`,
     
         ./bin/spark-submit --packages 
org.apache.spark:spark-sql-kafka-0-10_{{site.SCALA_BINARY_VERSION}}:{{site.SPARK_VERSION_SHORT}}
 ...
     
    +For experimenting on `spark-shell`, you can also use `--packages` to add 
`spark-sql-kafka-0-10_{{site.SCALA_BINARY_VERSION}}` and its dependencies 
directly,
    --- End diff --
    
    oh. the `you can also use` is relatively to `spark-submit`. Above this, 
`spark-submit` uses `--packages` to add library, so here it says you can also 
use this option to add library.


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