odbc - SAP HANA Smart Data Access: Can't count rows of virtual Table (Hive) -


i have hana express vm want interact hadoop cluster. have hive table connected via smart data access (sda) hana. works fine virtual table, can use sap hana studio querying hive data (select statements), when try count table rows, exception in hana studio:

select count(*) "system"."orctable"; 

leads following exception:

could not execute 'select count(*) "system"."orctable"' in 602 ms 558 µs .  sap dbtech jdbc: [403]: internal error: error opening cursor remote database [hortonworks][hardy] (35) error server: error code: '0' error message: 'executestatement finished operation state: error_state'. query "select count(*) hive.default.orctable orctable " 

i added new virtual table using uppercase letters virtual table name (orctable) in hana, hana uses uppercase default, same error! other tries:

  • select count(1) "system"."orctable"
  • select count(columna) "system"."orctable"
  • select count(a.*) "system"."orctable" a
  • ...

when call select count(*) orctable hive ui, everythigns works fine.

i found tutorial select count(*) made against virtual hive table: https://blogs.sap.com/2014/06/02/sap-hana-smart-data-access3-how-to-access-hadoop-data-through-hive-with-sda/

i'm using latest vm of hana express, hive odbc driver v2.1.7 suse 12 , hdp 2.5 cluster hive 1.2.1.

has else problem or guess why doesn't work or solution?

have tried running statement in error log hive ui?

select count(*) hive.default.orctable orctable

and simple select no count working?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -