text: Title: Insert / Update Hive Query failing. 
  Body: I am facing this issue with pyHive. I have connected to Hive on EMR as follows
  ```from pyhive import hive
  config = {'hive.txn.manager':'org.apache.hadoop.hive.ql.lockmgr.DbTxnManager',
           'hive.support.concurrency': 'true',
           'hive.enforce.bucketing': 'true',
           'hive.exec.dynamic.partition.mode': 'nonstrict',
           'hive.compactor.initiator.on': 'true',}
  connection = hive.connect ("X.X.X.X", configuration= config)
  cursor = connection.cursor()
  cursor.execute("Update table set x=2 where y=1")
  ```
  
  I get the following exception Stack trace and I'm not able to point out what the problem is.
  ```
  TExecuteStatementResp(status=TStatus(statusCode=3, infoMessages=[
  '*org.apache.hive.service.cli.HiveSQLException:Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask:28:27', 'org.apache.hive.service.cli.operation.Operation:toSQLException:Operation.java:380', 
  'org.apache.hive.service.cli.operation.SQLOperation:runQuery:SQLOperation.java:257', 
  'org.apache.hive.service.cli.operation.SQLOperation:runInternal:SQLOperation.java:293', 
  'org.apache.hive.service.cli.operation.Operation:run:Operation.java:320', 
  'org.apache.hive.service.cli.session.HiveSessionImpl:executeStatementInternal:HiveSessionImpl.java:530', 
  'org.apache.hive.service.cli.session.HiveSessionImpl:executeStatement:HiveSessionImpl.java:506', 
  'sun.reflect.GeneratedMethodAccessor16:invoke::-1', 
  'sun.reflect.DelegatingMethodAccessorImpl:invoke:DelegatingMethodAccessorImpl.java:43', 
  'java.lang.reflect.Method:invoke:Method.java:498', 
  'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:78', 
  'org.apache.hive.service.cli.session.HiveSessionProxy:access$000:HiveSessionProxy.java:36', 
  'org.apache.hive.service.cli.session.HiveSessionProxy$1:run:HiveSessionProxy.java:63', 
  'java.security.AccessController:doPrivileged:AccessController.java:-2', 
  'javax.security.auth.Subject:doAs:Subject.java:422', 
  'org.apache.hadoop.security.UserGroupInformation:doAs:UserGroupInformation.java:1926', 
  'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:59', 
  'com.sun.proxy.$Proxy35:executeStatement::-1', 
  'org.apache.hive.service.cli.CLIService:executeStatement:CLIService.java:280', 
  'org.apache.hive.service.cli.thrift.ThriftCLIService:ExecuteStatement:ThriftCLIService.java:531', 
  'org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement:getResult:TCLIService.java:1437', 
  'org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement:getResult:TCLIService.java:1422', 
  'org.apache.thrift.ProcessFunction:process:ProcessFunction.java:39', 
  'org.apache.thrift.TBaseProcessor:process:TBaseProcessor.java:39', 
  'org.apache.hive.service.auth.TSetIpAddressProcessor:process:TSetIpAddressProcessor.java:56', 
  'org.apache.thrift.server.TThreadPoolServer$WorkerProcess:run:TThreadPoolServer.java:286', 
  'java.util.concurrent.ThreadPoolExecutor:runWorker:ThreadPoolExecutor.java:1149', 
  'java.util.concurrent.ThreadPoolExecutor$Worker:run:ThreadPoolExecutor.java:624', 
  'java.lang.Thread:run:Thread.java:748'], 
  sqlState='08S01', errorCode=1, errorMessage='Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask'), operationHandle=None)
  ```
  
  
  When I run the **exact same query on EMR it is executing successfully** (The table has been set up as an ACID table stored as ORC and transactions enabled)
  Select queries are working fine with the connection set up as shown above. I seem to get the same error on inserts and updates.
  
  I'm not sure if there is a configuration that I'm missing to add to my connection or if it is an issue on Pyhive. 
  Any help would be appreciated.
  Thanks.