I use mt_dop=n parameter extensively and want to pass it from connection string.
While using Cloudera Impala driver, the below query string works:
jdbc:impala://192.168.123.123:21050/;mt_dop=8
However when we use Hive JDBC driver, the below query string doesnt work:
jdbc:hive2://192.168.174.72:21050/;auth=noSasl;mt_dop=8
I have tried lots of alternatives for Hive connection string like
jdbc:hive2://192.168.174.72:21050/;auth=noSasl?mt_dop=8
jdbc:hive2://192.168.174.72:21050/;auth=noSasl#mt_dop=8
but none of them work.
Can anyone give me a way out to pass this query option using Hive JDBC driver ?