mysqlvirtualhanavora

How I can insert data in SAP HANA Vora virtual table from SAP HANA Studio?


I have a SAP HANA Vora virtual table with a single varchar field. I try to execute this following query into this Vora virtual table from SAP HANA Studio:

INSERT INTO "BPINST"."VORA_TEST_VORA_VARCHAR" values ('OPT')

But the following error appears:

Could not execute 'INSERT INTO "BPINST"."VORA_TEST_VORA_VARCHAR" values ('OPT')' in 3.014 seconds . SAP DBTech JDBC: [403]: internal error: Error executing query [SAP AG][LIBODBCHDB SO][HDBODBC] General error;-888 exception while processing HANA Wire: V2Net error: could not handle api call, failure reason : execution of scheduler plan failed: found error: :-1, CException, Code: 10020 : Runtime category : catch(...) has been caught. , CallStack: /var/lib/ambari-agent/cache/stacks/HDP/2.4/services/vora-manager/package/lib/vora-v2server/lib/libv2runtime.so.1: v2::stacktrace(std::shared_ptr<v2::mm::CAllocator<(v2::mm::AllocBackend)0> >&)+0x1e5 /var/lib/ambari-agent/ca for query " INSERT INTO "VORA"."TEST_VORA_VARCHAR" ( "STATION_TYPE") VALUES (?)"

The following image show this case:

enter image description here

What could be the error?

Thanks for the support!


Solution

  • Vora does not support INSERT/UPDATE/DELETE.

    On Vora side you can use the APPEND command to add files to a Vora table. This will however not work from HANA side via virtual tables.