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

    https://github.com/apache/spark/pull/22282#discussion_r214622600
  
    --- Diff: 
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaRelation.scala
 ---
    @@ -115,7 +116,12 @@ private[kafka010] class KafkaRelation(
             cr.partition,
             cr.offset,
             DateTimeUtils.fromJavaTimestamp(new 
java.sql.Timestamp(cr.timestamp)),
    -        cr.timestampType.id)
    +        cr.timestampType.id,
    +        UnsafeMapData.of(
    +          
UnsafeArrayData.fromStringArray(cr.headers().toArray.map(_.key())),
    --- End diff --
    
    Same here.


---

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

Reply via email to