Skip to content

Commit

Permalink
More progress.
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Hughes <[email protected]>
  • Loading branch information
Jim Hughes committed Mar 10, 2021
1 parent 4148a1c commit 64c2fd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class GeoMesaKuduInputFormat extends InputFormat[NullWritable, SimpleFeature] wi
val sft = ds.getSchema(typeName)
val query = new Query(typeName)
filter.map(FastFilterFactory.toFilter(sft, _)).foreach(query.setFilter)
query.setPropertyNames(properties)
query.setPropertyNames(properties: _*)

val plans = ds.getQueryPlan(query).filter(_.ranges.nonEmpty)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class KafkaStore(ds: DataStore,
explain: Explainer = new ExplainLogging): CloseableIterator[SimpleFeature] = {
val query = new Query()
filter.foreach(query.setFilter)
transforms.foreach(query.setPropertyNames)
transforms.foreach(query.setPropertyNames(_: _*))
hints.foreach(query.setHints) // note: we want to share the hints object
queryRunner.runQuery(sft, query, explain)
}
Expand Down

0 comments on commit 64c2fd0

Please sign in to comment.