Spark SQL更改编号的格式 [英] Spark SQL change format of the number
本文介绍了Spark SQL更改编号的格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
show
命令后,spark将显示以下内容:
After show
command spark prints the following:
+-----------------------+---------------------------+
|NameColumn |NumberColumn |
+-----------------------+---------------------------+
|name |4.3E-5 |
+-----------------------+---------------------------+
是否可以将NumberColumn
格式更改为类似0.000043
的格式?
Is there a way to change NumberColumn
format to something like 0.000043
?
推荐答案
查看全文