如何从 SAP HANA Studio 向 SAP HANA Vora virtual table 中插入数据?

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

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

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

可能是什么错误?

感谢支持!

Vora 不支持 INSERT/UPDATE/DELETE。

在 Vora 端,您可以使用 APPEND 命令将文件添加到 Vora table。然而,这将无法通过虚拟 tables 从 HANA 端工作。