Stiivi / bubbles

[NOT MAINTAINED] Bubbles – Python ETL framework
http://bubbles.databrewery.org
Other
452 stars 80 forks source link

Simplify handling of tuple list (ordering, aggregations) #9

Open Stiivi opened 11 years ago

Stiivi commented 11 years ago

This:

p.sort([["firstname", "asc"]])

looks unintuitive, despite being correct.

Allow:

p.sort("firstname")

This would be nice to have, but should not be allowed as it is ambiguous:

p.sort(["firstname", "asc"])

Does it mean to sort firstname ascending or it means sort by fields firstname and asc in default (ascending) order?