Brazilian soccer player Dani Alves will face trial over an alleged sexual assault at a Barcelona nightclub in December 2022.