lenchv / hive-driver

Driver for connection to Apache Hive via Thrift API
MIT License
40 stars 9 forks source link

Can I make connection to Impala from this driver #26

Open ntallapa12 opened 4 years ago

ntallapa12 commented 4 years ago

Our users use both hive and impala.

From this thrift client, is it possible to create connection to impala? If yes do you have any examples/usage/test cases around it?

ntallapa12 commented 4 years ago

I didnt realize its so much easy with this driver to make impala connections with same code written for hive, I was able to make connection just by changing the port number (from 10000 for hive to 21051 for impala). I am also able to run some queries locally, will test it out more next week.

Meanwhile if you have any additional details on this please let me know. Thanks

lenchv commented 4 years ago

hi @ntallapa12 unfortunately, I didn’t test the hive-driver on impala. It seems to me the api is similar, but impala’s one is more extended. Probably, it is a good thing to add it to the story. But I cannot promise to implement it in the near future. I keep this issue updating. Also, I appreciate any help, so if you find out something let me know. Thanks