In the broader sense of your question (No need to focus on one particular interest) it depends on the person.
As TXgolfer said, opposites often attract. Many people hate the idea of spending their life with someone who closely resemble themselves.
Equally, many would rather spend time with someone who shares common interests. For example, if you like to live an active lifestyle, and if you want your partner to be involved in what you do, then it's likely that you will want them to have similar interests.
There's so many variables and conditionals when it comes to relationships. There isn't always a definitive answer. If it was me, I'd see that as a reason to stop looking for answers. Instead, I'd just live life and take it as it comes.