Hi, You can pass Seqs as varargs in Scala using this syntax:
df.partitionBy(seq: _*) Michal On 18.1.2017 03:23, lk_spark wrote:
hi,all:I want partition data by reading a config file who tells me how to partition current input data. DataFrameWriter have a method named with : partitionBy(colNames: String*): DataFrameWriter[T]why I can't pass parameter format with Seq[String] or Array[String]? 2017-01-18 ------------------------------------------------------------------------ lk_spark