Commit 5ccb22d4 authored by Pengfei Xue's avatar Pengfei Xue

support subdirs

parent c10f9000
......@@ -11,6 +11,8 @@ object Main {
def main(args: Array[String]) = {
val spark = SparkSession.builder()
.enableHiveSupport()
.config("spark.hive.mapred.supports.subdirectories","true")
.config("spark.hadoop.mapreduce.input.fileinputformat.input.dir.recursive","true")
.appName("DataQualityMonitor")
.getOrCreate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment