val spark = SparkSession
.builder()
.appName(this.getClass.getName)
.config(conf)
.getOrCreate()
val s= spark.read
.format("jdbc")
.option("driver", "org.apache.hive.jdbc.HiveDriver")
.option("url", s"jdbc:hive2://地址:21050/kinglighter;auth=noSasl")
.option("dbtable", "cf_test_data")
.load().show()
为什么在impala中显示
SELECT * FROM cf_test_data WHERE 1=0
SELECT "chooserecommend","recommenduserid","recommendproductonid","recommendnum" FROM cf_test_data 中字段有双引号,不知道哪里出错了,求解?