In the context of Spark ML, explain the process of splitting data using Spark ML and identify the key gotchas that one might encounter during this process. Provide a code snippet demonstrating the correct way to split data and explain how to handle the potential issues that may arise. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz