German Shepherds (GSDs) seem have this behavior hardcoded in their genes. Every GSD I've owned (5-6 by now) attack water from garden hoses as shown here. Same with rakes, hoes and vacuum cleaner hoses. Don't know if other breeds do this but every GSD I've owned does this innately. No training required. Its a play behavior.
Abusive comment hidden.
(Show it anyway.)