XSQL
XSQL copied to clipboard
How to use jdbc to connect to XSQL
hi,all : I have successfully deploy xsql-0.6.0-bin-spark-2.4.3 , and tested with cil . but after I started the thriftserver I could not query out anything.
I draw a simple graph to illustrate what's happened when set spark.sql.catalogImplementation to xsql, or calling SparkSession.builder().enableXSQLSupport()
As long as you change spark.sql.catalogImplementation to xsql, both spark-hive-thriftserver and spark-repl will start to support multi-datasource instead of one hive only. For permanent change, add new line spark.sql.catalogImplementation=xsql
in your spark-defaults.conf. For temporary change, add args --conf spark.sql.catalogImplementation=xsql
when you start thriftserver or spark-shell.
I draw a simple graph to illustrate what's happened when set spark.sql.catalogImplementation to xsql, or calling SparkSession.builder().enableXSQLSupport()
I think this graph could added into docs.