lib/piglet/relation/group.rb in piglet-0.2.5 vs lib/piglet/relation/group.rb in piglet-0.3.0
- old
+ new
@@ -3,12 +3,12 @@
module Piglet
module Relation
class Group # :nodoc:
include Relation
- def initialize(relation, grouping, options={})
+ def initialize(relation, interpreter, grouping, options={})
options ||= {}
- @sources, @grouping, @parallel = [relation], grouping, options[:parallel]
+ @sources, @interpreter, @grouping, @parallel = [relation], interpreter, grouping, options[:parallel]
end
def schema
parent = @sources.first
parent_schema = parent.schema
\ No newline at end of file