# 使用SparkSQL编写wordCount的词频统计 ## word.txt```hello hello scala sparkjava sql html java hellojack jack tom tom you he he sql``` ## spark 代码:```object WordCount { def main(args: Array[String]): Unit = { val spark: SparkSession = SparkSession.builder() .a…