Perhaps you could post a minimal example of the two datasets you're trying 
to join ?

To do multiple types of joins (left, right, inner, natural & cross) on 
collections of maps/records, I use Sean Devlin's table-utils library. 
There's no jar, but there's instructions on how to make a version without 
dependencies other than Clojure in this stackoverflow 
question<http://stackoverflow.com/questions/13009939/outer-join-in-clojure/13032032#13032032>
.

On Tuesday, July 16, 2013 4:43:21 PM UTC+2, mond wrote:
>
> Sorry if this is a RTFM style question ... this is what I have in terms of 
> types and was wondering if there is another form of join or another library 
> / collection combination that can achieve the same relational join?
>
> Thanks in advance,
>
> Ray
>
> check-delta-feeds.core=> (def changed-records (map find-changed-records 
> (set/select #(= (:entity %) (entity-names :project))  query-parts)))       
>         
> #'check-delta-feeds.core/changed-records
> check-delta-feeds.core=>check-delta-feeds.core=> 
> check-delta-feeds.core=> (def feed-entries (obtain-feed-entries 
> (fetch-atom-feed-until tgb-feed-url until-datetime)))
> #'check-delta-feeds.core/feed-entries
> check-delta-feeds.core=> (type changed-records )
> clojure.lang.LazySeq
> check-delta-feeds.core=> (type feed-entries)
> clojure.lang.LazySeq
> check-delta-feeds.core=> (set/join changed-records feed-entries {:ID 
> :dh-uuid})
> ClassCastException clojure.lang.LazySeq cannot be cast to java.util.Map 
>  clojure.lang.RT.find (RT.java:733)
>
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to