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

isless() MethodError in join on distributed tables #326

Open
jfb-h opened this issue May 7, 2020 · 0 comments
Open

isless() MethodError in join on distributed tables #326

jfb-h opened this issue May 7, 2020 · 0 comments

Comments

@jfb-h
Copy link

jfb-h commented May 7, 2020

I get the below error when trying to perform a join on distributed tables. Here's a MWE:

t1 = table((lk = [1,1,2,2,3], v1 = rand(5)), chunks = 2)
t2 = table((rk = [1,2,3,4,5], v2 = rand(5)), chunks = 3)
t3 = join(t1, t2, lkey=:lk, rkey=:rk, how=:inner)

This throws the following error:

MethodError: no method matching isless(::NamedTuple{(:rk,),Tuple{Int64}}, ::NamedTuple{(:lk,),Tuple{Int64}})
Closest candidates are:
  isless(!Matched::Missing, ::Any) at missing.jl:87
  isless(!Matched::DataValues.DataValue{Union{}}, ::Any) at C:\Users\Jakob\.julia\packages\DataValues\N7oeL\src\scalar\core.jl:293
  isless(::NamedTuple{n,T} where T<:Tuple, !Matched::NamedTuple{n,T} where T<:Tuple) where n at namedtuple.jl:158
  ...
in top-level scope at untitled:9
in  at JuliaDB\7cG1k\src\join.jl:116
in #join#273 at JuliaDB\7cG1k\src\join.jl:117 
in  at JuliaDB\7cG1k\src\join.jl:34
in #join#267 at JuliaDB\7cG1k\src\join.jl:86
in hasoverlap at JuliaDB\7cG1k\src\interval.jl:26
in <= at base\operators.jl:317
in < at base\operators.jl:268

It all works fine when the tables are not distributed. Am I doing something I'm not supposed to or is this an error?

Any help would be greatly appreciated!

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