报错:apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database 'bikshare' not found
代码:
val spark = SparkSession
.builder()
.appName(this.getClass.getName)
.enableHiveSupport()
.getOrCreate()
import spark.implicits._
import spark.sql
sql("use bikshare").show(false)
为什么找不到库?