Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use jdbc to connect to XSQL #3

Open
lordk911 opened this issue Sep 6, 2019 · 3 comments
Open

How to use jdbc to connect to XSQL #3

lordk911 opened this issue Sep 6, 2019 · 3 comments

Comments

@lordk911
Copy link

lordk911 commented Sep 6, 2019

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.

@WeiWenda
Copy link
Collaborator

WeiWenda commented Sep 7, 2019

I draw a simple graph to illustrate what's happened when set spark.sql.catalogImplementation to xsql, or calling SparkSession.builder().enableXSQLSupport()
image

@WeiWenda
Copy link
Collaborator

WeiWenda commented Sep 7, 2019

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.

@beliefer
Copy link
Collaborator

beliefer commented Sep 7, 2019

I draw a simple graph to illustrate what's happened when set spark.sql.catalogImplementation to xsql, or calling SparkSession.builder().enableXSQLSupport()
image

I think this graph could added into docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants