此问题在此处已有答案:
Convert the data of a column of type MapType in a spark data frame to string(1个答案)
23天前关闭
我有一个类似于“orange”的map对象列:3}
我希望它保留这种格式,但它是一个字符串。我怎么做?
此问题在此处已有答案:
Convert the data of a column of type MapType in a spark data frame to string(1个答案)
23天前关闭
我有一个类似于“orange”的map对象列:3}
我希望它保留这种格式,但它是一个字符串。我怎么做?
1条答案
按热度按时间byqmnocz1#
我只需要使用to_json内置函数