摘要: 将多个字段合并成一个字段,我们一般使用concat或concat_ws。 concat 使用concat时,如果如果拼接的字段中有null,结果也会变成null concat_ws 使用concat_ws来拼接时,字段有为null的,结果并不会也变成null 阅读全文
posted @ 2022-09-01 22:17 梦醒江南·Infinite 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: 语法 MSCK REPAIR TABLE table_identifier [{ADD|DROP|SYNC} PARTITIONS] msck repair table table_identifier 默认执行的是 add partitions操作 ref: spark.apache.org/do 阅读全文
posted @ 2022-09-01 22:03 梦醒江南·Infinite 阅读(238) 评论(0) 推荐(0) 编辑