Fix to enable hoodie.datasource.read.incr.filters
This commit is contained in:
committed by
vinoth chandar
parent
26f24b6728
commit
461ce18bd1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user