You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/15 10:14:06 UTC

[GitHub] gaborgsomogyi opened a new pull request #23796: [SPARK-26889][SS][DOCS] Fix timestamp type in Structured Streaming + Kafka Integration Guide

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:
users@infra.apache.org


With regards,
Apache Git Services

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