- 链接地址:https://yangyong.blog.csdn.net/article/details/124954815
- 链接标题:spark dataframe int long double float 怎么造 null值_spark cast转换成double有null值-CSDN博客
- 所属网站:yangyong.blog.csdn.net
- 被收藏次数:5655
文章浏览阅读318次。代码 val ds = Seq( (Some("rowkey1"), "strname1", Some(1), 1.1f, 1.1d, 1L) , (None, "strname1", None, 1.1f, 1.1d, 1L) ).toDF( "rowKey" , "strName" , "intName" , "fload.._spark cast转换成double有null值
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除