I am writing a query against hive tables in PowerPivot model. I have two tables joined in a query. The query works in HUE interface but when I write a same query in powerpivot model, it gives following error.
I have ODBC connections. I am able to bring in data from hive tables if I dont join tables. But if I join then I get error message.
OLE DB or ODBC error: [Hortonworks][Hardy] (35) Error from server: error code: '0' error message: 'ExecuteStatement finished with operation state: ERROR_STATE'.; S1000.
When I've seen issues like this, it's usually a permissions issue. Confirm the user accessing via HUE (e.g. it may be using user HDFS) and ODBC have the same access rights. If you have Ranger enabled, you can quickly check via the Ranger portal http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/hive_service.html