scala

dataFrame.select($"col1", $"col2").as[(String, String)].collect().toMap

原文地址:https://www.cnblogs.com/anxiao/p/11363911.html