piglet icon indicating copy to clipboard operation
piglet copied to clipboard

Piglet is a DSL for writing Pig scripts in Ruby

Results 9 piglet issues
Sort by recently updated
recently updated
newest added

It's really annoying that the relation names in the code that Piglet produces are all relation_1, relation_2 and so on. There should be a way to set the name of...

planned

It's unlikely that Piglet will cover every single aspect of Pig Latin, so it would be good to have a way of injecting Pig Latin code verbatim.

Pig has a whole bunch of file commands that Piglet does not support.

a.join(b => :x, a => :y) is non-deterministic since the order of key keys in the hash is not guaranteed. sometimes it will come out as "JOIN a BY y,...

planned

This is currently not supported by Piglet: FOREACH p GENERATE a + 3, b + 1, c + 5 AS (x:int, y:int, z:int)

planned

In Piglet, this is currently not possible: FOREACH x GENERATE A.(b, c) i.e. dereference both A.b and A.c at the same time, I think it's equivalent to A.b, A.c.

unlikely

This is currently not possible in Piglet: FOREACH x GENERATE * where the star means "all fields"

unlikely

It would be nice if you could choose to use "generate" instead of "foreach" as the name of the foreach…generate operation in Piglet, i.e. a.foreach { |r| … } could...

planned

Rails, or ActiveSupport, added Enumerable#group_by which is a perfect analogy of the Pig GROUP operator. Ruby 1.8.7 took a cue from Rails, so now group_by is available in MRI Ruby....

planned