0
votes

We are currently using HANA 1 sps 12 and SPARK controller to create virtual tables and access the HIVE data in HANA. The problem is we have some SC2 table we want to archive in HANA for which we need full CRUD operation. We have converted a few of the Hive tables to ACID (transactional = true). Now we are not able to fetch records, it returns 0 records.

We tried to use Drill, which has native support for Hive acid tables, but when we are querying the Hive tables using Drill ODBC driver and DSN, it fails. After checking the queries that hit Drill we found out, HANA is wrapping the schema name in double-quotes. eg. Select * from "hive.schemaname".tablename.

We tried to change the default quoting to " from the default backtick, but ended up losing remote schema refresh as that query sends wrap the schema name with backtick `.

1

1 Answers

0
votes

There is an incompatibility of Spark 2 and Hive ACID transactional tables. External tables can be used as a workaround. If you have an S-user SAP have documented this in Note 2901291 (SAP HANA Spark Controller - Incompatibility of Spark 2 and Hive ACID transactional tables).