我是新手,从csv文件Spark-shell
创建数据框时出现此错误:
scala> val bankDF = bankrdd.toDF() bankDF.registerTempTable("bankfull")
<console>:1: error: ';' expected but '.' found.
val bankDF = bankrdd.toDF() bankDF.registerTempTable("bankfull")
^