I'm using Spark 1.4.1 and am doing the following with spark-shell:

solr = sqlContext.read.format("solr").option("zkhost",
"localhost:2181").option("collection","spark").load()

solr.select("id").count()

The Solr DataSource implements PrunedFilteredScan so I expected the
buildScan method to get called with the "id" field in the fields list.
However, "id" is not getting passed to my DataSource.

Shouldn't selected fields get passed to buildScan?

Thanks.
Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to