hive-driver icon indicating copy to clipboard operation
hive-driver copied to clipboard

Can I make connection to Impala from this driver

Open ntallapa12 opened this issue 4 years ago • 2 comments

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 avatar Apr 10 '20 16:04 ntallapa12

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

ntallapa12 avatar Apr 12 '20 12:04 ntallapa12

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

lenchv avatar Apr 13 '20 06:04 lenchv