Search code examples
apache-sparkjdbchawq

How to connect spark from HAWQ via JDBC/ODBC driver?


Nice to meet you all. I'm Anqing,a trainee working in China. I'm trying to connect spark from HAWQ via JDBC driver. I know that there is a problem looks like as mine, but I have not solved my issues. Can you help me how to deal with it?Please tell me in detail. Thanks.

Zheng Anqing


Solution

  • Assuming that you are trying to connect to HAWQ database from spark, you may use Postgres 8.4 JDBC driver (since HAWQ is based on Postgres).