lib/cql.rb in cql-1.3.0 vs lib/cql.rb in cql-1.4.0
- old
+ new
@@ -35,9 +35,10 @@
raise(ArgumentError, "A query must specify a 'select' clause") unless @what
raise(ArgumentError, "A query must specify a 'from' clause") unless @from
+ warn("Multiple selections made without using an 'as' clause") unless @name_transforms || (@what.count == @what.uniq.count)
# Gather relevant objects from root object and filters
@data = CQL::MapReduce.gather_objects(@data, @from, @filters)
# Extract properties from gathered objects