Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joins on dataset with not typical names #86

Closed
genmeblog opened this issue May 29, 2020 · 0 comments
Closed

joins on dataset with not typical names #86

genmeblog opened this issue May 29, 2020 · 0 comments

Comments

@genmeblog
Copy link

When column name is not string, keyword or symbol, joins fail.

(def DS (ds/->dataset [{:a 11 [:a :b] 2}]))

DS
;; => _unnamed [1 2]:
;;    | :a | [:a :b] |
;;    |----|---------|
;;    | 11 |       2 |

(def join-res (ds/left-join :a DS DS))

(ds/column-names join-res)
;; => (:a nil :right.a nil)

(meta join-res)
;; => {:name "left-outer-join",
;;     :left-column-names {:a :a, [:a :b] nil},
;;     :right-column-names {:a :right.a, [:a :b] nil}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant