当load数据到表中时,查询表中数据报这个错误时
Failed with exception java.io.IOException:java.lang.RuntimeException: hdfs://hadoop102:9000/warehouse/gmall/dwd/dwd_dim_date_info/date_info.txt is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [9, 48, 13, 10]
需要修改建表语句,将Parquet 格式改为所需要的格式如textfile