1
0

Fix to enable hoodie.datasource.read.incr.filters

This commit is contained in:
Naoki Takezoe
2019-04-27 01:09:38 +09:00
committed by vinoth chandar
parent 26f24b6728
commit 461ce18bd1

View File

@@ -87,8 +87,9 @@ class IncrementalRelation(val sqlContext: SQLContext,
if (optParams.contains(DataSourceReadOptions.PUSH_DOWN_INCR_FILTERS_OPT_KEY)) {
val filterStr = optParams.get(DataSourceReadOptions.PUSH_DOWN_INCR_FILTERS_OPT_KEY).getOrElse("")
filterStr.split(",").filter(!_.isEmpty)
} else {
Array[String]()
}
Array[String]()
}
override def schema: StructType = latestSchema