hive表数据文件存在子目录的情况,查询不到数据
解决方案:1.对于分区表,数据文件上层目录非分区目录,增加参数:spark.sql.sources.readPartitionWithSubdirectory.enabled=true2.对于非分区表,数据文件上层目录非表目录,增加参数:spark.sql.nonPartitionedTable.subdirectory.read.enabled=true...