A system and method for managing data storage and data access with querying data in a distributed system without buffering the results on intermediate operations in disk storage.