如何从SAP HANA Studio在SAP HANA Vora虚拟表中插入数据?

时间:2017-04-04 11:17:00

标签: mysql sap virtual hana vora

我有一个带有单个varchar字段的SAP HANA Vora虚拟表。 我尝试从SAP HANA Studio执行以下查询到此Vora虚拟表:

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

但出现以下错误:

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 (?)" 

下图显示了这种情况:

enter image description here

可能是什么错误?

感谢您的支持!

1 个答案:

答案 0 :(得分:1)

Vora不支持INSERT / UPDATE / DELETE。

在Vora端,您可以使用APPEND命令将文件添加到Vora表。但是,HANA方面无法通过虚拟表格进行此操作。