trane-dev/Trane

Make generating nl_descriptions more dynamic

RogerTangos opened this issue · 1 comments

trane.utils.generate_nl_description currently assumes exactly 4 operations in the order filter -> row -> transformation -> aggregation. It should be able to handle multiple or no operations in any category.

Including some sort of describe method in the op classes may help.

Resolved in f69ac3e.

Problems are now described using the str method, and operations can be in any any logically consistent sequence.