I'm write a dataframe to redis and read the data with spring boot application. The information retry successfull, but the id column return null like that:
{ "nu_document": null, "qt_negative": "1000000000" }
Had same issue. you might be missing
.option("key.column", "nu_document")
from your read method. Check out the link https://github.com/RedisLabs/spark-redis/blob/master/doc/dataframe.md .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.