Add partial query