You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by oskarryn <os...@adaltas.com> on 2019/03/01 13:38:39 UTC

Spark Streaming loading kafka source value column type

Hi,

Why is `value` column in streamed dataframe obtained from kafka topic 
natively of binary type (look at the table 
https://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html) 
if in fact it holds a string with the message's data and we CAST it as 
string anyways?

Oskar


---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org