Title: Query decomposition modules for a distributed database system