Hi,
I would like to expose a DF through the Thrift server, but even though I
enable spark.sql.hive.thriftServer.singleSession I still can't see the temp
table.
I'm using Spark 2.2.0:
spark-shell --conf spark.sql.hive.thriftServer.singleSession=true
import org.apache.spark.sql.hive.thriftserver.HiveThriftServer2
import org.apache.spark.sql.hive.thriftserver._
val df = spark.read.orc( "s3://sparkdemoday/crimes_orc")
df.createOrReplaceTempView("cached_df")
df.cache
df.count
val sql = spark.sqlContext
HiveThriftServer2.startWithContext(sql)
Thank you.
Daniel