1. A method comprising: receiving, by a database server from a remote application server, a query associated with a calculation model that defines a data flow model that includes a plurality of calculation nodes, each calculation node defining one or more operations to execute on the database server; dynamically determining, by the database server using at least one attribute of at least one dataset responsive to the query, that intermediate results provided by at least one of the operations specified by at least one of the nodes of the calculation model require partitioning; modifying, by the database server, the calculation model to partition operations on the at least one dataset based on the dynamic determination; instantiating, by the database server, the modified calculation model; executing, by the database server, the operations defined by the calculation nodes of the modified calculation model to result in at least one result set; and providing, by the database server to the application server, the at least one result set.