The poblem is that I have a method from Spark to insert into Cassandra: childrenToInsertToParent.saveToCassandra("keyspace", "table", SomeColumns("a","b","c","d"))
I have to put an sequence of String to say what columns I want to save. I would like to do it dinamically, to do that I have to save these names in an array, but it doesn't work with this paramter, any way to set an array to this method or similar? My idea is to get the name of the attributes from my case classes and put them directly, but I just can set the names in an array, list and so on.