dkubb / axiom

Simplifies querying of structured data using relational algebra
https://github.com/dkubb/axiom
MIT License
459 stars 22 forks source link

Two base relations with the same header but different names are still equal #44

Closed solnic closed 10 years ago

solnic commented 10 years ago

Not sure if bug or a feature but:

irb(main):001:0> r1 = Axiom::Relation::Base.new(:foo, [[:name, String]])
irb(main):002:0> r2 = Axiom::Relation::Base.new(nil, [[:name, String]])
irb(main):003:0> r1 == r2
=> true

EDIT: ok according to this I'm pretty sure it's a bug