gaborgsomogyi opened a new pull request #23796: [SPARK-26889][SS][DOCS] Fix 
timestamp type in Structured Streaming + Kafka Integration Guide
URL: https://github.com/apache/spark/pull/23796
 
 
   ## What changes were proposed in this pull request?
   
   ```
   $ spark-shell --packages 
org.apache.spark:spark-sql-kafka-0-10_2.11:3.0.0-SNAPSHOT
   ...
   scala> val df = spark.read.format("kafka").option("kafka.bootstrap.servers", 
"foo").option("subscribe", "bar").load().printSchema()
   root
    |-- key: binary (nullable = true)
    |-- value: binary (nullable = true)
    |-- topic: string (nullable = true)
    |-- partition: integer (nullable = true)
    |-- offset: long (nullable = true)
    |-- timestamp: timestamp (nullable = true)
    |-- timestampType: integer (nullable = true)
   
   df: Unit = ()
   ```
   In the doc timestamp type is `long` and in this PR I've changed it to 
`timestamp`.
   
   ## How was this patch tested?
   
   cd docs/
   SKIP_API=1 jekyll build
   Manual webpage check.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to