导出:从hdfs到MySQL
添加sqoop参数:
--input-null-string '\N' --input-null-non-string '\N' 这样导出时识别N为空导入:从MySQL到hdfs导入数据时采用--null-string '\N'和--null-non-string '\N'项目导入时没转换空值,因为DWD层导入时过滤掉空值了