pyspark sql使用总结
pyspark sql使用总结将多列合并为一列去除重复项string转为date格式
将多列合并为一列
concat函数,将多列合并为一列。eg:
from pyspark.sql.functions import concat, col, lit
report = sqlContext.table(report_table_name)
report1 = report.select(
f...
原创
2019-04-14 14:35:13 ·
1596 阅读 ·
0 评论