Thanks, that helped. And I needed SchemaRDD.as() to provide an alias for the RDD.

-Jerry

On 17/12/14 12:12 pm, Tobias Pfeiffer wrote:
Jerry,

On Wed, Dec 17, 2014 at 3:35 PM, Jerry Raj <jerry....@gmail.com
<mailto:jerry....@gmail.com>> wrote:

    Another problem with the DSL:

    t1.where('term == "dmin").count() returns zero.


Looks like you need ===:
https://spark.apache.org/docs/1.1.0/api/scala/index.html#org.apache.spark.sql.SchemaRDD

Tobias


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

Reply via email to