While washing a small amount of joint compound down the drain is not typically a problem, extensive disposal may cause clogs, depending on the drain size and water used to flush the tools (source). To avoid issues, try cleaning your tools outdoors or use a bucket instead of a sink.