I try to connect to a JDBC:hive client via knox and if I run the following code:
import jaydebeapi;
import jpype;
conn = jaydebeapi.connect("org.apache.hive.jdbc.HiveDriver","<hive_jdbc_url>",["<username>", "<password>"],"/path/to/hive-jdbc-uber-<version>.jar")
curs = conn.cursor();
curs.execute("SELECT * FROM Database WHERE day = 20181114 Limit 10");
curs.fetchall();
curs.close();
Python.exe stops working, and if I run the code in pycharm, I get the following error:
Process finished with exit code -1073741819 (0xC0000005)
I think it could be a problem with the environment variable, but I don't know what to chance to fix this issue.